Add automatic removal of any previous output buffering.

This commit is contained in:
Jonathan Reinink
2013-04-18 08:59:02 -04:00
parent 737b8837b9
commit 772411d42f
+3
View File
@@ -144,6 +144,9 @@ class Run
*/
public function handleException(Exception $exception)
{
// Remove any previous output
ob_get_level() and ob_end_clean();
// Walk the registered handlers in the reverse order
// they were registered, and pass off the exception
$inspector = $this->getInspector($exception);