diff options
author | Vitaly Takmazov | 2015-12-29 01:03:30 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2015-12-29 01:03:30 +0300 |
commit | cd699d5726740300f2b477d9d95b1df68eb77c56 (patch) | |
tree | a3ce7dfaa2339d3fb91e19786ed353f7d7aeb644 /src/main | |
parent | 4ea87cbb9ba25eebe6df0896f98a90e24eb4d7e3 (diff) |
push: log sendWNS stacktrace
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/java/com/juick/PushComponent.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/juick/PushComponent.java b/src/main/java/com/juick/PushComponent.java index 527de44e..84f91d9b 100644 --- a/src/main/java/com/juick/PushComponent.java +++ b/src/main/java/com/juick/PushComponent.java @@ -287,7 +287,7 @@ public class PushComponent implements ServletContextListener, Stream.StreamListe conn.disconnect(); } catch (Exception e) { - logger.severe("sendWNS: " + e.toString()); + logger.log(Level.SEVERE, "sendWNS error: ", e); } return ret; } |