Fix remove a bad error_log that was sending emails
This commit is contained in:
parent
c75182c930
commit
c235b5c5a0
@ -9030,11 +9030,9 @@ function dol_eval($s, $returnvalue = 0, $hideerrors = 1, $onlysimplestring = '1'
|
||||
}
|
||||
}
|
||||
} catch (Error $e) {
|
||||
$error = 'Caught error : ';
|
||||
$error = 'dol_eval try/catch error : ';
|
||||
$error .= $e->getMessage();
|
||||
//$error .= ', Trace : ';
|
||||
//$error .= json_encode($e->getTrace());
|
||||
error_log($error, 1);
|
||||
dol_syslog($error);
|
||||
}
|
||||
if ($returnvalue) {
|
||||
return '';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user