Fixed bug that prevents the error handler from being called for none 200 status responses