We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0673263 commit cd446ceCopy full SHA for cd446ce
PiSideCode/init.py
@@ -215,7 +215,9 @@ def log_performance(walleye_data):
215
216
for idx, val in enumerate(connections.values()):
217
if not val and walleye_data.robot_publisher.get_connection_value(idx):
218
- logger.info("Camera disconnected")
+ logger.critical(f"Camera disconnected! Quitting!!")
219
+ raise RuntimeError("A camera has disconnected. Restarting wallEYE!!")
220
+
221
222
walleye_data.robot_publisher.set_connection_value(idx, val)
223
0 commit comments