Fix output buffer checking bug.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
parent
89dc8903ec
commit
5b3031adb0
|
@ -12,7 +12,7 @@ public static function exception($exception)
|
||||||
{
|
{
|
||||||
static::log($exception);
|
static::log($exception);
|
||||||
|
|
||||||
ob_end_clean();
|
ob_get_level() and ob_end_clean();
|
||||||
|
|
||||||
// If detailed errors are enabled, we'll just format the exception into
|
// 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
|
// a simple error message and display it on the screen. We don't use a
|
||||||
|
|
Loading…
Reference in New Issue