File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ public String preListAllCandidateDevices() {
232232 CommandLine toDevicePath = CommandLine .parse ("/usr/sbin/system_profiler SPUSBDataType" );
233233 executor .execute (toDevicePath );
234234 return new String (baos .toByteArray ());
235- } catch (IOException e ) {
235+ } catch (Throwable e ) {
236236 return super .preListAllCandidateDevices ();
237237 }
238238 }
Original file line number Diff line number Diff line change @@ -345,7 +345,7 @@ public String preListAllCandidateDevices() {
345345 CommandLine toDevicePath = CommandLine .parse (listComPorts );
346346 executor .execute (toDevicePath );
347347 return new String (baos .toByteArray ());
348- } catch (IOException e ) {
348+ } catch (Throwable e ) {
349349 return super .preListAllCandidateDevices ();
350350 }
351351 }
You can’t perform that action at this time.
0 commit comments