aboutsummaryrefslogtreecommitdiff
path: root/juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2018-04-10 14:47:51 +0300
committerGravatar Vitaly Takmazov2018-04-10 15:57:37 +0300
commit59ed964b41fe15706d3b46c0e71c49660ebf2586 (patch)
treec6d47c208deb9331d37e22ecc4d00de293b59142 /juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java
parentc875f208a6af4bf676022cd4b55b5c9624141a78 (diff)
server: log xmpp command exceptions
Diffstat (limited to 'juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java')
-rw-r--r--juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java b/juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java
index e1fa92ed..f1a9621b 100644
--- a/juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java
+++ b/juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java
@@ -613,6 +613,7 @@ public class XMPPConnection implements StanzaListener, NotificationListener {
return makeReply(from, result.getText());
}
} catch (Exception e) {
+ logger.warn("xmpp command exception", e);
return makeReply(from, "Error processing command");
}
return null;