summaryrefslogtreecommitdiff
path: root/lib/xmppqueuehandler.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/xmppqueuehandler.php')
-rw-r--r--lib/xmppqueuehandler.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/xmppqueuehandler.php b/lib/xmppqueuehandler.php
index ce82c9a46..8e0db6f31 100644
--- a/lib/xmppqueuehandler.php
+++ b/lib/xmppqueuehandler.php
@@ -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());
}
}