aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/PushComponent.java
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2015-12-29 00:36:41 +0300
committerGravatar Vitaly Takmazov2015-12-29 00:36:41 +0300
commitc0cc0afdd385bd11a381e976280d473bba2f468a (patch)
tree5439a32353ca9a23778e344b1e01826c46b7eb2d /src/main/java/com/juick/PushComponent.java
parent3a07a59e00a177d1adc179575b1ded8d763ea292 (diff)
update xmpp library to see stack trace
Diffstat (limited to 'src/main/java/com/juick/PushComponent.java')
-rw-r--r--src/main/java/com/juick/PushComponent.java4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/main/java/com/juick/PushComponent.java b/src/main/java/com/juick/PushComponent.java
index 9cc045e1..f4f766a1 100644
--- a/src/main/java/com/juick/PushComponent.java
+++ b/src/main/java/com/juick/PushComponent.java
@@ -152,9 +152,7 @@ public class PushComponent implements ServletContextListener, Stream.StreamListe
}
@Override
- public void onStreamFail(String msg) {
- logger.warning("XMPP STREAM FAIL: " + msg);
- }
+ public void onStreamFail(Exception e) {logger.log(Level.SEVERE, "XMPP STREAM FAIL", e);}
@Override
public void onMessage(com.juick.xmpp.Message msg) {