Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/archinstall
diff options
context:
space:
mode:
Diffstat (limited to 'archinstall')
-rw-r--r--archinstall/__main__.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/archinstall/__main__.py b/archinstall/__main__.py
index eaf19398..4575a7e1 100644
--- a/archinstall/__main__.py
+++ b/archinstall/__main__.py
@@ -3,6 +3,7 @@ import archinstall
import sys
import os
import glob
+import traceback
import urllib.request
# TODO: Learn the dark arts of argparse...
@@ -64,6 +65,7 @@ def run_as_a_module():
exec(profile) # Is this is very safe?
except Exception as err:
print(f"Error in profile {sys.argv[1]}: {err}")
+ traceback.print_exc(file=sys.stdout)
sys.exit(1) # Should prompt for another profile path instead