Print traceback in case of exception

The text of the exception is pretty much useless alone,
this makes it print the entire traceback.
master
Salvo 'LtWorf' Tomaselli 2016-01-03 10:03:07 +07:00
parent 0dd2ef2f1d
commit eadcca6da7
1 changed files with 1 additions and 0 deletions

@ -207,6 +207,7 @@ def run_test(testname):
print (colorize('Test passed', COLOR_GREEN))
return True
except Exception as inst:
traceback.print_exc(file=sys.stdout)
print (inst)
pass
print (colorize('ERROR', COLOR_RED))