LOG_ERROR -> LOG_ERR
darcs-hash:20080913161107-84dde-30b694455d509a7ec2d12e8418f54ce695aa0993.gz
This commit is contained in:
parent
a482123fea
commit
ed57778b92
|
@ -53,8 +53,8 @@ class XmppQueueHandler extends QueueHandler {
|
|||
try {
|
||||
$this->conn->processTime($timeout);
|
||||
} catch (XMPPHP_Exception $e) {
|
||||
$this->log(LOG_ERROR, "Got an XMPPHP_Exception: " . $e->getMessage());
|
||||
exit(1);
|
||||
$this->log(LOG_ERR, "Got an XMPPHP_Exception: " . $e->getMessage());
|
||||
die($e->getMessage());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ class JabberQueueHandler extends XmppQueueHandler {
|
|||
try {
|
||||
return jabber_broadcast_notice($notice);
|
||||
} catch (XMPPHP_Exception $e) {
|
||||
$this->log(LOG_ERROR, "Got an XMPPHP_Exception: " . $e->getMessage());
|
||||
$this->log(LOG_ERR, "Got an XMPPHP_Exception: " . $e->getMessage());
|
||||
exit(1);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -43,8 +43,8 @@ class PublicQueueHandler extends XmppQueueHandler {
|
|||
try {
|
||||
return jabber_public_notice($notice);
|
||||
} catch (XMPPHP_Exception $e) {
|
||||
$this->log(LOG_ERROR, "Got an XMPPHP_Exception: " . $e->getMessage());
|
||||
exit(1);
|
||||
$this->log(LOG_ERR, "Got an XMPPHP_Exception: " . $e->getMessage());
|
||||
die($e->getMessage());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user