From a88511428ad73909546fc351b67987a93588c43e Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Mon, 20 Feb 2012 09:28:12 -0600 Subject: [PATCH] silently flush output buffer on error. --- laravel/error.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/laravel/error.php b/laravel/error.php index edcb7ad3..23574efa 100644 --- a/laravel/error.php +++ b/laravel/error.php @@ -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.