Skip to content

Commit 8a5bc41

Browse files
committed
Issue #252 change exception to error
1 parent 01a06f3 commit 8a5bc41

File tree

1 file changed

+3
-2
lines changed
  • it.baeyens.arduino.common/src/it/baeyens/arduino/arduino

1 file changed

+3
-2
lines changed

it.baeyens.arduino.common/src/it/baeyens/arduino/arduino/Serial.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -70,11 +70,12 @@ public static Vector<String> list() {
7070
try {
7171
String[] portNames = SerialPortList.getPortNames();
7272
return new Vector<String>(Arrays.asList(portNames));
73-
} catch (Exception e) {
73+
} catch (Error e) {
7474
Common.log(new Status(IStatus.ERROR, ArduinoConst.CORE_PLUGIN_ID,
7575
"There is a config problem on your system.\nFor more detail see https://github.com/jantje/arduino-eclipse-plugin/issues/252", e));
7676
Vector<String> ret = new Vector<String>();
77-
ret.add("config error");
77+
ret.add("config error:");
78+
ret.add("see https://github.com/jantje/arduino-eclipse-plugin/issues/252");
7879
return ret;
7980
}
8081
}

0 commit comments

Comments
 (0)