Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
server: ignore exceptions in the Watcher loop
This is a very poor hack, but we don't face exceptions too frequently here. Let's restart if e.g. this happens: Traceback (most recent call last): File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/base.py", line 1910, in _execute_context self.dialect.do_execute( File "/usr/lib64/python3.12/site-packages/sqlalchemy/engine/default.py", line 736, in do_execute cursor.execute(statement, parameters) sqlite3.OperationalError: database is locked While we ignore such exceptions now, we at least log out the exception traceback for later analysis.
- Loading branch information