Merge pull request 'added the exc_info flag' (#10) from Alex/stcs:dev into stable
Reviewed-on: #10
This commit is contained in:
@@ -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