Fix error handling

There was an unnecessary call to `RequestHandler.write` inside of the failure handling that was missing a required parameter.  This should really just set the status and return.