aboutsummaryrefslogtreecommitdiff
path: root/src/org
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2015-07-23 11:08:30 +1200
committerAnton Tananaev <anton.tananaev@gmail.com>2015-07-23 11:08:30 +1200
commit2c7ee9ab2787b347d328cf6ae045f775266069cc (patch)
tree62b3944d0745f357bb816a36e4d74c09425ad2f1 /src/org
parent18db690688e73f94061ae7d1498144c2e6f89653 (diff)
downloadtrackermap-server-2c7ee9ab2787b347d328cf6ae045f775266069cc.tar.gz
trackermap-server-2c7ee9ab2787b347d328cf6ae045f775266069cc.tar.bz2
trackermap-server-2c7ee9ab2787b347d328cf6ae045f775266069cc.zip
Log exceptions stack trace
Diffstat (limited to 'src/org')
-rw-r--r--src/org/traccar/MainEventHandler.java2
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();
}