From 5a29e1c3ce54aba5cd18ca1e1df758c3f52375b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Wed, 7 May 2014 14:52:45 +0200 Subject: [PATCH] don't report user errors (what was i thinking) --- 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 84002057..ffa72d26 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) { + if ($this->reportErrors && !$userError) { $error = array(); $error['Type'] = 'Error'; $error['Message'] = $message;