aboutsummaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2015-12-29 01:03:30 +0300
committerGravatar Vitaly Takmazov2015-12-29 01:03:30 +0300
commitcd699d5726740300f2b477d9d95b1df68eb77c56 (patch)
treea3ce7dfaa2339d3fb91e19786ed353f7d7aeb644 /src/main
parent4ea87cbb9ba25eebe6df0896f98a90e24eb4d7e3 (diff)
push: log sendWNS stacktrace
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/com/juick/PushComponent.java2
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;
}