diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-11-15 22:32:21 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-11-15 22:32:21 +1300 |
commit | 2b6d8cb12c6a307b4ee9a0af12101042ec78803c (patch) | |
tree | f16b1a4f8b7d69c2d94c74b35a46d6ed59674c9e /src/org/traccar | |
parent | 113d83778acdff9288d8e68e54275bc73e8dbdc4 (diff) | |
download | traccar-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.java | 2 |
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 } |