don't report user errors (what was i thinking)
This commit is contained in:
parent
ba01624765
commit
5a29e1c3ce
@ -145,7 +145,7 @@ class ErrorHandler {
|
|||||||
$logMessage = $message . PHP_EOL . 'File&Line: ' . $fileLine . PHP_EOL . 'Trace: ' . $traceString;
|
$logMessage = $message . PHP_EOL . 'File&Line: ' . $fileLine . PHP_EOL . 'Trace: ' . $traceString;
|
||||||
logMessage($logMessage);
|
logMessage($logMessage);
|
||||||
|
|
||||||
if ($this->reportErrors) {
|
if ($this->reportErrors && !$userError) {
|
||||||
$error = array();
|
$error = array();
|
||||||
$error['Type'] = 'Error';
|
$error['Type'] = 'Error';
|
||||||
$error['Message'] = $message;
|
$error['Message'] = $message;
|
||||||
|
Loading…
Reference in New Issue
Block a user