From 2b6d8cb12c6a307b4ee9a0af12101042ec78803c Mon Sep 17 00:00:00 2001 From: Anton Tananaev Date: Thu, 15 Nov 2012 22:32:21 +1300 Subject: Better error logging --- src/org/traccar/GenericPipelineFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/org/traccar/GenericPipelineFactory.java') 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 } -- cgit v1.2.3