summaryrefslogtreecommitdiff
path: root/scripts/publicqueuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/publicqueuehandler.php')
-rwxr-xr-xscripts/publicqueuehandler.php4
1 files changed, 2 insertions, 2 deletions
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());
}
}
}