do not cover unready db

This commit is contained in:
Matthias 2022-05-03 22:08:57 +02:00
parent 58a5eac66a
commit 4e5015e742
No known key found for this signature in database
GPG Key ID: AB6D0E6C4CB65093

View File

@ -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")