We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 5487f7a + e2fe359 commit 5837bd0Copy full SHA for 5837bd0
1 file changed
meshtastic/__main__.py
@@ -1268,6 +1268,12 @@ def common():
1268
message += " After running that command, log out and re-login for it to take effect.\n"
1269
message += f"Error was:{ex}"
1270
meshtastic.util.our_exit(message)
1271
+ except OSError as ex:
1272
+ message = f"OS Error:\n"
1273
+ message += " The serial device couldn't be opened, it might be in use by another process.\n"
1274
+ message += " Please close any applications or webpages that may be using the device and try again.\n"
1275
+ message += f"\nOriginal error: {ex}"
1276
+ meshtastic.util.our_exit(message)
1277
if client.devPath is None:
1278
try:
1279
client = meshtastic.tcp_interface.TCPInterface(
0 commit comments