Remove useless python tracebacks for bash side target failures.
except CatalystError:
self.unbind()
raise CatalystError("Stage build aborting due to error.",
- print_traceback=True)
+ print_traceback=False)
def setup_environment(self):
"""
try:
target.run()
except:
- print "Target run() exception: Python traceback output follows:"
- catalyst.util.print_traceback()
- print
print "!!! catalyst: Error encountered during run of target " + \
addlargs["target"]
sys.exit(1)
(type,value)=sys.exc_info()[:2]
if value!=None:
print
- print "Traceback valuse found. listing..."
+ print "Traceback values found. listing..."
print traceback.print_exc(file=sys.stdout)
print
print "!!! catalyst: "+message