silently flush output buffer on error.

This commit is contained in:
Taylor Otwell 2012-02-20 09:28:12 -06:00
parent 7f3f1f3481
commit a88511428a
1 changed files with 2 additions and 0 deletions

View File

@ -12,6 +12,8 @@ public static function exception($exception)
{
static::log($exception);
ob_end_clean();
// If detailed errors are enabled, we'll just format the exception into
// a simple error message and display it on the screen. We don't use a
// View in case the problem is in the View class.