Added additional error logging when the session was not created