Log the exception traceback in session.load()