report user errors (to replace them with better logging)

This commit is contained in:
Steffen Schröder 2014-05-06 02:49:20 +02:00
parent cdd75bc7bd
commit 194fd6d641

View File

@ -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;