Skip to content

Commit 591a15b

Browse files
committed
artemis_svl: Only print serial error message on SerialException
The catch all `except:` masks other errors.
1 parent e532092 commit 591a15b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools/artemis/artemis_svl.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ def main():
335335
if( bl_failed == False ):
336336
break
337337

338-
except:
338+
except serial.SerialException:
339339
phase_serial_port_help()
340340

341341
exit()

0 commit comments

Comments
 (0)