From 194fd6d6414f4318c5e87cf967c0b947e3b256e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Tue, 6 May 2014 02:49:20 +0200 Subject: [PATCH] report user errors (to replace them with better logging) --- application/core/ErrorHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/ErrorHandler.php b/application/core/ErrorHandler.php index ffa72d26..84002057 100644 --- a/application/core/ErrorHandler.php +++ b/application/core/ErrorHandler.php @@ -145,7 +145,7 @@ class ErrorHandler { $logMessage = $message . PHP_EOL . 'File&Line: ' . $fileLine . PHP_EOL . 'Trace: ' . $traceString; logMessage($logMessage); - if ($this->reportErrors && !$userError) { + if ($this->reportErrors) { $error = array(); $error['Type'] = 'Error'; $error['Message'] = $message;