chore: move alembic exception logging to debug (#4620)
move alembic exception logging to debug
This commit is contained in:
parent
44b0531f6b
commit
7c048650e0
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ class DatabaseService(Service):
|
||||||
try:
|
try:
|
||||||
session.exec(text("SELECT * FROM alembic_version"))
|
session.exec(text("SELECT * FROM alembic_version"))
|
||||||
except Exception: # noqa: BLE001
|
except Exception: # noqa: BLE001
|
||||||
logger.opt(exception=True).info("Alembic not initialized")
|
logger.debug("Alembic not initialized")
|
||||||
should_initialize_alembic = True
|
should_initialize_alembic = True
|
||||||
|
|
||||||
if should_initialize_alembic:
|
if should_initialize_alembic:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue