LOG_ERROR -> LOG_ERR

darcs-hash:20080913161107-84dde-30b694455d509a7ec2d12e8418f54ce695aa0993.gz
This commit is contained in:
Evan Prodromou 2008-09-13 12:11:07 -04:00
parent a482123fea
commit ed57778b92
3 changed files with 5 additions and 5 deletions

View File

@ -53,8 +53,8 @@ class XmppQueueHandler extends QueueHandler {
try { try {
$this->conn->processTime($timeout); $this->conn->processTime($timeout);
} catch (XMPPHP_Exception $e) { } 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); die($e->getMessage());
} }
} }

View File

@ -45,7 +45,7 @@ class JabberQueueHandler extends XmppQueueHandler {
try { try {
return jabber_broadcast_notice($notice); return jabber_broadcast_notice($notice);
} catch (XMPPHP_Exception $e) { } 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); exit(1);
} }
} }

View File

@ -43,8 +43,8 @@ class PublicQueueHandler extends XmppQueueHandler {
try { try {
return jabber_public_notice($notice); return jabber_public_notice($notice);
} catch (XMPPHP_Exception $e) { } 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); die($e->getMessage());
} }
} }
} }