To re-raise an exception, just use `raise` without the variable to it; that will preserve the original traceback. `raise err` will overwrite the traceback with the `raise err` line.