Skip to content

Commit

Permalink
save scheduler state on every event
Browse files Browse the repository at this point in the history
  • Loading branch information
sb0y committed Oct 15, 2024
1 parent 1455bf1 commit 77788c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion warp_beacon/scheduler/scheduler.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def do_work(self) -> None:

logging.info("Scheduler waking up")
self.validate_ig_session()
self.save_state()
except Exception as e:
logging.error("An error occurred in scheduler thread!")
logging.exception(e)
self.save_state()

0 comments on commit 77788c7

Please sign in to comment.