Browse Source

backend: Recover from error during enter_fsm()

backend_DiskStation_Sep-29-1817-2021_TypeConflict
Andreas Berthoud 4 years ago
parent
commit
95677c58b0
  1. 3
      backend/monsun_backend/command_execution.py

3
backend/monsun_backend/command_execution.py

@ -95,6 +95,9 @@ def worker_process(
connected = False
time.sleep(serial_reconnection_wait_timeout)
logger.warning("reconnecting...")
except Exception as e:
logger.exception(e)
logger.error("Unexpected exception happened, recovering...")
def enter_fsm(

Loading…
Cancel
Save