From 6e0753df1873ce35667992df38396f594656daf3 Mon Sep 17 00:00:00 2001 From: stadchenko Date: Thu, 29 Oct 2015 16:19:08 +0300 Subject: [PATCH] Minor bug fixes --- Harmonious.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Harmonious.php b/Harmonious.php index 67ae6e2..6d24b02 100644 --- a/Harmonious.php +++ b/Harmonious.php @@ -791,8 +791,6 @@ || $error['type'] == E_COMPILE_ERROR || $error['type'] == E_CORE_ERROR) { - ob_end_clean(); // сбросить буфер, завершить работу буфера - if (isset($this)) { $this->getLog()->error('Fatal Error Catched: '.$error['message']); if ( $this->config('debug') === true ) { @@ -805,8 +803,10 @@ throw new Exception('Fatal Error Catched but not logged: ' . $error['message']); } } else { + if (isset($this)) { + $this->getLog()->warn('Shutdown Error Catched: '.$error['message']); + } } - } else { } }