import sys, traceback, string def myExceptHook(type, value, tb): sys.__excepthook__(type, value, tb) lines = traceback.format_exception(type, value, tb) print string.join(lines) sys.excepthook = myExceptHook
You need to create an account or log in to post comments to this site.