report user errors (to replace them with better logging)
This commit is contained in:
parent
cdd75bc7bd
commit
194fd6d641
@ -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 && !$userError) {
|
if ($this->reportErrors) {
|
||||||
$error = array();
|
$error = array();
|
||||||
$error['Type'] = 'Error';
|
$error['Type'] = 'Error';
|
||||||
$error['Message'] = $message;
|
$error['Message'] = $message;
|
||||||
|
Loading…
Reference in New Issue
Block a user