aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2012-11-15 22:32:21 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2012-11-15 22:32:21 +1300
commit2b6d8cb12c6a307b4ee9a0af12101042ec78803c (patch)
treef16b1a4f8b7d69c2d94c74b35a46d6ed59674c9e /src/org/traccar
parent113d83778acdff9288d8e68e54275bc73e8dbdc4 (diff)
downloadtraccar-server-2b6d8cb12c6a307b4ee9a0af12101042ec78803c.tar.gz
traccar-server-2b6d8cb12c6a307b4ee9a0af12101042ec78803c.tar.bz2
traccar-server-2b6d8cb12c6a307b4ee9a0af12101042ec78803c.zip
Better error logging
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/GenericPipelineFactory.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/GenericPipelineFactory.java b/src/org/traccar/GenericPipelineFactory.java
index d2012753e..3d20ec433 100644
--- a/src/org/traccar/GenericPipelineFactory.java
+++ b/src/org/traccar/GenericPipelineFactory.java
@@ -81,7 +81,7 @@ public abstract class GenericPipelineFactory implements ChannelPipelineFactory {
Log.fine(msg);
} else if (e instanceof ExceptionEvent) {
ExceptionEvent event = (ExceptionEvent) e;
- Log.warning(event.getCause().getMessage());
+ Log.warning(event.getCause().toString());
}
// TODO: handle other events
}