mirror of
https://github.com/WGDashboard/WGDashboard-PRW.git
synced 2026-12-02 01:17:41 +00:00
chore: add more debug lines
This commit is contained in:
@@ -13,6 +13,7 @@ class database():
|
||||
def create_session(database_config: dict) -> tuple[bool, sqlalchemy.engine.Engine | None, sqlalchemy.orm.Session | None]:
|
||||
ok, connection_string = database_utils.generate_connection_string(database_config)
|
||||
if not ok:
|
||||
log.error("failed to generate the connection string")
|
||||
return False, None, None
|
||||
|
||||
try:
|
||||
|
||||
Reference in New Issue
Block a user