Commit 9df0df8d authored by markus's avatar markus

Log unhandled exceptions

parent 85651da5
......@@ -116,6 +116,9 @@ def loop(satnogs_address, station, satellites, observer):
sleep(30)
except KeyboardInterrupt:
pass
except:
logging.exception("Unhandled error occurred")
exit(42)
if __name__ == "__main__":
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment