laravel/laravel — pull request #800 by markhuot (2012-06-11 20:13:00+00:00)
Title: Exceptions don't currently render out their response, this fixes that.

If you clone the `develop` branch and add `throw new Exception('Oh no!');` inside the `home@action_index` method you'll get a beautiful stack trace. Perfect.

Now, update `application/config/error.php` and set `detail` to `false` and you'll get a WSOD. The reason seems to be that the default 500 error state never actually calls the response's `render` method. This pull fixes that.

Note: I think only the 500 event requires the `render` method be called. I added it to the 404 event to keep the code in sync. It didn't seem to break anything but someone with more experience with the codebase may recommend removing it from the 404 event.