cleaner errors

This commit is contained in:
Edwin Eefting
2017-10-13 01:31:17 +02:00
parent 31ba3aad85
commit e33f9c1709
+4 -3
View File
@@ -84,7 +84,8 @@ try:
except Exception as e:
print("Error: "+str(e), file=sys.stderr)
print()
print("Details:")
raise
if args.debug:
print()
print("Details:")
raise
sys.exit(1)