mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
disable this PHP error logging, errors that are really significant end up with a crash report, this is more noise than useful at this stage in 2.2.
This commit is contained in:
parent
d97dd42437
commit
ecefba29ec
@ -924,8 +924,9 @@ function pfSense_clear_globals() {
|
||||
if ( $error !== NULL) {
|
||||
if ( $error['type'] != E_NOTICE ) {
|
||||
$errorstr = "PHP ERROR: Type: {$error['type']}, File: {$error['file']}, Line: {$error['line']}, Message: {$error['message']}";
|
||||
print($errorstr);
|
||||
log_error($errorstr);
|
||||
// XXX: comment out for now, should re-enable post-2.2
|
||||
//print($errorstr);
|
||||
//log_error($errorstr);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user