mirror of
https://github.com/JonathanHerrewijnen/calibre-web.git
synced 2024-11-10 21:24:15 +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