fix confusion in syslog reporting web_php when the error was actually web_js
This commit is contained in:
parent
df788f2810
commit
b3a28b2ba2
|
@ -408,10 +408,10 @@ class Logger {
|
|||
}
|
||||
}
|
||||
|
||||
$message = $code.' ['.$string.']';
|
||||
if ( $level <= $this->syslogLevel )
|
||||
syslog( self::$syslogPriorities[$level], $message );
|
||||
syslog(self::$syslogPriorities[$level], $message);
|
||||
|
||||
$message = $code.' ['.$string.']';
|
||||
if ( $level <= $this->databaseLevel ) {
|
||||
try {
|
||||
global $dbConn;
|
||||
|
|
Loading…
Reference in New Issue