aboutsummaryrefslogtreecommitdiff
path: root/juick-xmpp/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2016-11-18 17:27:55 +0300
committerGravatar Vitaly Takmazov2016-11-18 17:27:55 +0300
commite7940d5c3a485e6015ae51c3b3e5fe2f05aafde9 (patch)
treea382bf920f59e9df6a7f096bc1f775f2ab82cb65 /juick-xmpp/src/main
parentefbc952a2aae7ff540828ee5fbd4a587ab42bf95 (diff)
juick-xmpp: fix reconnection
Diffstat (limited to 'juick-xmpp/src/main')
-rw-r--r--juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionRouter.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionRouter.java b/juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionRouter.java
index 9400aad7..5af00329 100644
--- a/juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionRouter.java
+++ b/juick-xmpp/src/main/java/com/juick/components/s2s/ConnectionRouter.java
@@ -133,6 +133,7 @@ public class ConnectionRouter extends Connection implements Runnable {
logger.warn("STREAM ROUTER FINISHED");
} catch (Exception e) {
logger.warn("router error, reconnection " + e.toString());
+ execution.recordFailure(e);
}
}
});