mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
do not cover unready db
This commit is contained in:
parent
58a5eac66a
commit
4e5015e742
@ -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")
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user