1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-11-28 04:19:59 +00:00

Log error in case gdrive.db folder can't be found

This commit is contained in:
Ozzie Isaacs 2022-02-06 14:23:35 +01:00
parent 2d49589e4b
commit 41f89af959

View File

@ -196,7 +196,8 @@ def migrate():
if not os.path.exists(cli.gdpath):
try:
Base.metadata.create_all(engine)
except Exception:
except Exception as ex:
log.error("Error connect to database: {} - {}".format(cli.gdpath, ex))
raise
migrate()