Proper traceback prints

This commit is contained in:
jpic
2021-04-24 13:12:18 +02:00
parent 4af938fab0
commit c58d1618ed
+2 -1
View File
@@ -2,6 +2,7 @@ import copy
from pathlib import Path
import os
import re
import sys
from ..output import Output
from ..proc import Proc
@@ -58,7 +59,7 @@ class Target:
raise
else:
import traceback
traceback.print_exception(type(e), e, None)
traceback.print_exception(type(e), e, sys.exc_info()[2])
return True
else:
self.output.success(action)