We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 6ac7bfb + 36e74f0 commit b555111Copy full SHA for b555111
snode/scripts/rpi_log_script_v4.py
@@ -309,8 +309,11 @@ def main():
309
print("SerialInterface setup for listening.")
310
311
# Subscribe to the data topic
312
- pub.subscribe(on_receive, "meshtastic.receive")
313
- print("Subscribed to meshtastic.receive")
+ try:
+ pub.subscribe(on_receive, "meshtastic.receive")
314
+ print("Subscribed to meshtastic.receive")
315
+ except Exception as e:
316
+ print(f"Unable to subscribe: {e}")
317
318
# Print the current active threads
319
print("----\nAfter subscribing to meshtastic.receive, the thread information is as follows:")
0 commit comments