mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
fix: add debug logging for SQLAlchemy connection string in Database class
This commit is contained in:
parent
f4a04e2780
commit
3d7648dac0
1 changed files with 2 additions and 0 deletions
|
|
@ -103,6 +103,8 @@ class Database:
|
|||
if not sqlalchemy_string:
|
||||
sqlalchemy_string = getenv("DATABASE_URI", "sqlite:////var/lib/bunkerweb/db.sqlite3")
|
||||
|
||||
self.logger.debug(f"SQLAlchemy string: {sqlalchemy_string}")
|
||||
|
||||
sqlalchemy_string_readonly = getenv("DATABASE_URI_READONLY", "")
|
||||
|
||||
if not sqlalchemy_string:
|
||||
|
|
|
|||
Loading…
Reference in a new issue