diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-23 11:08:30 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2015-07-23 11:08:30 +1200 |
commit | 2c7ee9ab2787b347d328cf6ae045f775266069cc (patch) | |
tree | 62b3944d0745f357bb816a36e4d74c09425ad2f1 /src/org/traccar | |
parent | 18db690688e73f94061ae7d1498144c2e6f89653 (diff) | |
download | trackermap-server-2c7ee9ab2787b347d328cf6ae045f775266069cc.tar.gz trackermap-server-2c7ee9ab2787b347d328cf6ae045f775266069cc.tar.bz2 trackermap-server-2c7ee9ab2787b347d328cf6ae045f775266069cc.zip |
Log exceptions stack trace
Diffstat (limited to 'src/org/traccar')
-rw-r--r-- | src/org/traccar/MainEventHandler.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/MainEventHandler.java b/src/org/traccar/MainEventHandler.java index c28340f98..034cd4371 100644 --- a/src/org/traccar/MainEventHandler.java +++ b/src/org/traccar/MainEventHandler.java @@ -66,7 +66,7 @@ public class MainEventHandler extends IdleStateAwareChannelHandler { @Override public void exceptionCaught(ChannelHandlerContext ctx, ExceptionEvent e) { - Log.info(formatChannel(e.getChannel()) + " error caught"); + Log.warning(formatChannel(e.getChannel()) + " error", e.getCause()); e.getChannel().close(); } |