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:
Hidenori Matsubayashi
2021-08-02 08:49:06 +09:00
committed by GitHub
parent feef220fb9
commit f90086f143
+2 -1
View File
@@ -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 &&