diff options
Diffstat (limited to 'system/core')
-rw-r--r-- | system/core/Common.php | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/system/core/Common.php b/system/core/Common.php index 16a916a01..c83d80a3d 100644 --- a/system/core/Common.php +++ b/system/core/Common.php @@ -587,9 +587,7 @@ if ( ! function_exists('_exception_handler')) if ($is_error) { set_status_header(500); - } - - $_error =& load_class('Exceptions', 'core'); + } // Should we ignore the error? We'll get the current error_reporting // level and add its bits with the severity bits to find out. @@ -598,6 +596,7 @@ if ( ! function_exists('_exception_handler')) return; } + $_error =& load_class('Exceptions', 'core'); $_error->log_exception($severity, $message, $filepath, $line); // Should we display the error? |