Fix output buffer checking bug.
Signed-off-by: Taylor Otwell <taylorotwell@gmail.com>
This commit is contained in:
@@ -12,7 +12,7 @@ class Error {
|
||||
{
|
||||
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
|
||||
// a simple error message and display it on the screen. We don't use a
|
||||
|
||||
Reference in New Issue
Block a user