Commit a8851142 authored by Taylor Otwell's avatar Taylor Otwell

silently flush output buffer on error.

parent 7f3f1f34
...@@ -12,6 +12,8 @@ class Error { ...@@ -12,6 +12,8 @@ class Error {
{ {
static::log($exception); static::log($exception);
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
// View in case the problem is in the View class. // View in case the problem is in the View class.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment