2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-13 08:46:30 +00:00

fix: migrate_env silent failures

This commit is contained in:
Ankush Menat 2022-11-29 12:23:13 +05:30
parent c59d1edee5
commit 7f1c5ad9c6

View File

@ -223,7 +223,8 @@ def migrate_env(python, backup=False):
logger.log(f"Migration Successful to {python}")
except Exception:
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="."):