You can use the traceback module to catch and print the full exception traceback without halting/exiting the program.