Fix device discovery issue (#35)
When we use custom-devices and some of them are not found, desktop devices isn't also listed.
This commit is contained in:
@@ -165,7 +165,8 @@ class ELinuxDeviceDiscovery extends PollingDeviceDiscovery {
|
|||||||
throwOnError: true);
|
throwOnError: true);
|
||||||
stdout = result.stdout.trim();
|
stdout = result.stdout.trim();
|
||||||
} on ProcessException catch (ex) {
|
} on ProcessException catch (ex) {
|
||||||
throwToolExit('ping failed to list attached devices:\n$ex');
|
_logger.printError('ping failed to list attached devices:\n$ex');
|
||||||
|
continue;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (result.exitCode == 0 &&
|
if (result.exitCode == 0 &&
|
||||||
|
|||||||
Reference in New Issue
Block a user