mirror of
https://github.com/frappe/bench.git
synced 2025-01-23 15:08:24 +00:00
fix: migrate_env silent failures
This commit is contained in:
parent
c59d1edee5
commit
7f1c5ad9c6
@ -223,7 +223,8 @@ def migrate_env(python, backup=False):
|
|||||||
logger.log(f"Migration Successful to {python}")
|
logger.log(f"Migration Successful to {python}")
|
||||||
except Exception:
|
except Exception:
|
||||||
if venv_creation or packages_setup:
|
if venv_creation or packages_setup:
|
||||||
logger.warning("Migration Error")
|
logger.warning("Migration Error", exc_info=True)
|
||||||
|
raise
|
||||||
|
|
||||||
|
|
||||||
def validate_upgrade(from_ver, to_ver, bench_path="."):
|
def validate_upgrade(from_ver, to_ver, bench_path="."):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user