From ed57778b92e03d1e1dc922273eb07bd929398cbd Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 13 Sep 2008 12:11:07 -0400 Subject: LOG_ERROR -> LOG_ERR darcs-hash:20080913161107-84dde-30b694455d509a7ec2d12e8418f54ce695aa0993.gz --- scripts/publicqueuehandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'scripts/publicqueuehandler.php') diff --git a/scripts/publicqueuehandler.php b/scripts/publicqueuehandler.php index dde6a3427..b1ae1d581 100755 --- a/scripts/publicqueuehandler.php +++ b/scripts/publicqueuehandler.php @@ -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()); } } } -- cgit v1.2.3-54-g00ecf