update exception

This commit is contained in:
2021-01-24 14:44:35 +01:00
parent 6bd6dd2e1c
commit 53105d5935

View File

@@ -47,6 +47,7 @@ else:
except : except :
# ...else assume that there's an MCU (driving the display) connected # ...else assume that there's an MCU (driving the display) connected
# to a serial port # to a serial port
e = sys.exc_info()[0]
print('HAL: failed: {}'.format(e.args[0])) print('HAL: failed: {}'.format(e.args[0]))
from arduinoserialhal import ArduinoSerialHAL as HAL from arduinoserialhal import ArduinoSerialHAL as HAL