* Assuming 500 status code when an exception was thrown in the controller; fixes gh-1880 * Ensures that the response is committed
* Assuming 500 status code when an exception was thrown in the controller; fixes gh-1880 * Ensures that the response is committed