Fix no slots attribute bug. Return the request from the exception handler.