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) {
|
} catch (Error $e) {
|
||||||
$error = 'Caught error : ';
|
$error = 'dol_eval try/catch error : ';
|
||||||
$error .= $e->getMessage();
|
$error .= $e->getMessage();
|
||||||
//$error .= ', Trace : ';
|
dol_syslog($error);
|
||||||
//$error .= json_encode($e->getTrace());
|
|
||||||
error_log($error, 1);
|
|
||||||
}
|
}
|
||||||
if ($returnvalue) {
|
if ($returnvalue) {
|
||||||
return '';
|
return '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user