We could still keep the on_session_load_error callable, but just pass exception and sid