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
In addition to @Aaron Hall's answer, if you are logging, but don't want to use logging.exception() (since it logs at the ERROR level), you can use a lower level and pass exc_info=True. e.g.
logging.exception()
exc_info=True
try: do_something_that_might_error() except Exception: logger.info('General exception noted.', exc_info=True)