diff --git a/cps/gdriveutils.py b/cps/gdriveutils.py index eae175a0..57f272ff 100644 --- a/cps/gdriveutils.py +++ b/cps/gdriveutils.py @@ -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()