We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6ec506f commit e2fe359Copy full SHA for e2fe359
1 file changed
meshtastic/__main__.py
@@ -1255,6 +1255,12 @@ def common():
1255
message += " After running that command, log out and re-login for it to take effect.\n"
1256
message += f"Error was:{ex}"
1257
meshtastic.util.our_exit(message)
1258
+ except OSError as ex:
1259
+ message = f"OS Error:\n"
1260
+ message += " The serial device couldn't be opened, it might be in use by another process.\n"
1261
+ message += " Please close any applications or webpages that may be using the device and try again.\n"
1262
+ message += f"\nOriginal error: {ex}"
1263
+ meshtastic.util.our_exit(message)
1264
if client.devPath is None:
1265
try:
1266
client = meshtastic.tcp_interface.TCPInterface(
0 commit comments