Add function exception.get_exception_with_traceback