I want to catch and log exceptions without exiting, e.g.,
try: do_stuff() except Exception, err: print(Exception, err) # I want to print the entir
You want the traceback module. It will let you print stack dumps like Python normally does. In particular, the print_last function will print the last exception and a stack trace.