mirror of
https://github.com/inventree/InvenTree.git
synced 2026-10-06 10:21:18 +00:00
do not cover unready db
This commit is contained in:
1 file changed
+1
-1
@@ -209,7 +209,7 @@ class ScheduleMixin:
|
||||
repeats=task.get('repeats', -1),
|
||||
)
|
||||
|
||||
except (ProgrammingError, OperationalError):
|
||||
except (ProgrammingError, OperationalError): # pragma: no cover
|
||||
# Database might not yet be ready
|
||||
logger.warning("register_tasks failed, database not ready")
|
||||
|
||||
|
||||
Reference in new issue
Block a user