From cd699d5726740300f2b477d9d95b1df68eb77c56 Mon Sep 17 00:00:00 2001 From: Vitaly Takmazov Date: Tue, 29 Dec 2015 01:03:30 +0300 Subject: push: log sendWNS stacktrace --- src/main/java/com/juick/PushComponent.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/main/java/com') 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; } -- cgit v1.2.3