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:
parent
2d49589e4b
commit
41f89af959
@ -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()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user