Skip to content
Snippets Groups Projects
Commit 217a84e0 authored by Taya Snijder's avatar Taya Snijder
Browse files

Added message on keyboard interrupt

parent 817afb72
No related branches found
No related tags found
1 merge request!155L2SS-399: added reconnect option
...@@ -46,6 +46,7 @@ while True: ...@@ -46,6 +46,7 @@ while True:
conn.sendall(data) conn.sendall(data)
except KeyboardInterrupt: except KeyboardInterrupt:
logger.info("Received keyboard interrupt. Stopping.")
exit() exit()
except Exception as e: except Exception as e:
logger.warning(f"Exception occurred: {e}") logger.warning(f"Exception occurred: {e}")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment