forked from kodorvan/stcs
Compare commits
2 Commits
2047dd5ac6
...
898ff91392
| Author | SHA1 | Date | |
|---|---|---|---|
| 898ff91392 | |||
|
|
f5677e6e7e |
@@ -21,4 +21,4 @@ async def init_db():
|
|||||||
await conn.run_sync(Base.metadata.create_all)
|
await conn.run_sync(Base.metadata.create_all)
|
||||||
logger.info("Database initialized.")
|
logger.info("Database initialized.")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
logger.error("Database initialization failed: %s", e)
|
logger.error("Database initialization failed: %s", e, exc_info=True)
|
||||||
|
|||||||
Reference in New Issue
Block a user