Fix error responder not passing the exception correctly.