From 7f1c5ad9c673f158885b083c39000d071f6400a0 Mon Sep 17 00:00:00 2001 From: Ankush Menat Date: Tue, 29 Nov 2022 12:23:13 +0530 Subject: [PATCH] fix: migrate_env silent failures --- bench/utils/bench.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bench/utils/bench.py b/bench/utils/bench.py index 5467256a7..eb2b00eba 100644 --- a/bench/utils/bench.py +++ b/bench/utils/bench.py @@ -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="."):