diff options
author | Vitaly Takmazov | 2018-04-10 14:47:51 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-04-10 15:57:37 +0300 |
commit | 59ed964b41fe15706d3b46c0e71c49660ebf2586 (patch) | |
tree | c6d47c208deb9331d37e22ecc4d00de293b59142 /juick-server-xmpp | |
parent | c875f208a6af4bf676022cd4b55b5c9624141a78 (diff) |
server: log xmpp command exceptions
Diffstat (limited to 'juick-server-xmpp')
-rw-r--r-- | juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java | 1 |
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; |