From c91348dae7588b074eaecf78985a48fd3ce7dd9e Mon Sep 17 00:00:00 2001 From: cmdr2 Date: Mon, 10 Oct 2022 20:20:53 +0530 Subject: [PATCH] Print traceback when printing a fatal message --- installer/installer/helpers.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/installer/installer/helpers.py b/installer/installer/helpers.py index a1bc9387..e087b233 100644 --- a/installer/installer/helpers.py +++ b/installer/installer/helpers.py @@ -1,5 +1,6 @@ from os import path import subprocess +import traceback from installer import app @@ -50,6 +51,7 @@ def modules_exist_in_env(modules, env_dir_path=app.project_env_dir_path): def fail_with_install_error(error_msg): try: + log(traceback.format_exc()) log(f''' Error: {error_msg}. Sorry about that, please try to: