From f90086f143201ca76cff3bdf3436d52a9b426754 Mon Sep 17 00:00:00 2001 From: Hidenori Matsubayashi Date: Mon, 2 Aug 2021 08:49:06 +0900 Subject: [PATCH] Fix device discovery issue (#35) When we use custom-devices and some of them are not found, desktop devices isn't also listed. --- lib/elinux_device_discovery.dart | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/elinux_device_discovery.dart b/lib/elinux_device_discovery.dart index a3df0f3..da7c3f5 100644 --- a/lib/elinux_device_discovery.dart +++ b/lib/elinux_device_discovery.dart @@ -165,7 +165,8 @@ class ELinuxDeviceDiscovery extends PollingDeviceDiscovery { throwOnError: true); stdout = result.stdout.trim(); } 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 &&