aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/ws
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-06-30 11:57:55 +0300
committerGravatar Vitaly Takmazov2016-06-30 11:57:55 +0300
commite3fdbbcd833e4be70b4e62e541cfd03b2f4d129a (patch)
tree149ca6bdcc845eb038dfc25ec610f9f6ffafb43a /src/main/java/com/juick/ws
parentdbceb8cb379c44366c1014d282a73457762aabe1 (diff)
update deps
Diffstat (limited to 'src/main/java/com/juick/ws')
-rw-r--r--src/main/java/com/juick/ws/XMPPConnection.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/com/juick/ws/XMPPConnection.java b/src/main/java/com/juick/ws/XMPPConnection.java
index d5cb4eba..d0bdc42f 100644
--- a/src/main/java/com/juick/ws/XMPPConnection.java
+++ b/src/main/java/com/juick/ws/XMPPConnection.java
@@ -62,8 +62,8 @@ public class XMPPConnection implements Runnable, Stream.StreamListener, Message.
}
@Override
- public void onStreamFail(String msg) {
- logger.severe("XMPP stream failed: " + msg);
+ public void onStreamFail(Exception ex) {
+ logger.log(Level.SEVERE, "XMPP stream failed", ex);
}
@Override