diff options
author | Vitaly Takmazov | 2016-05-10 22:54:26 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2016-05-10 22:54:26 +0300 |
commit | 8d80768befad0246ab69d46179243079edc9a5b7 (patch) | |
tree | 1931b907baa129390ef17a6c2da027c41e647318 /src | |
parent | 9ca9faeedde7b09c5eb791f6dbd32e00d0f2a63a (diff) |
log ssl errors
Diffstat (limited to 'src')
-rw-r--r-- | src/main/java/com/juick/xmpp/s2s/ConnectionOut.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java b/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java index 607cd20a..8ce1b76d 100644 --- a/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java +++ b/src/main/java/com/juick/xmpp/s2s/ConnectionOut.java @@ -128,7 +128,7 @@ public class ConnectionOut extends Connection implements Runnable { restartParser(); sendOpenStream(); } catch (SSLException sex) { - System.err.println("STREAM " + streamID + " SSL ERROR"); + LOGGER.log(Level.SEVERE, String.format("s2s ssl error: %s %s", to, streamID), sex); sendStanza("<failed xmlns\"" + NS_TLS + "\" />"); XMPPComponent.removeConnectionOut(this); closeConnection(); |