From 59ed964b41fe15706d3b46c0e71c49660ebf2586 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 10 Apr 2018 14:47:51 +0300 Subject: server: log xmpp command exceptions --- juick-server-xmpp/src/main/java/com/juick/server/XMPPConnection.java | 1 + 1 file changed, 1 insertion(+) 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; -- cgit v1.2.3