aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/org/traccar/GenericPipelineFactory.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/org/traccar/GenericPipelineFactory.java b/src/org/traccar/GenericPipelineFactory.java
index 7577b70fc..13a4cf6b6 100644
--- a/src/org/traccar/GenericPipelineFactory.java
+++ b/src/org/traccar/GenericPipelineFactory.java
@@ -75,7 +75,11 @@ public abstract class GenericPipelineFactory implements ChannelPipelineFactory {
}
Log.fine(msg);
+ } else if (e instanceof ExceptionEvent) {
+ ExceptionEvent event = (ExceptionEvent) e;
+ Log.warning(event.getCause().getMessage());
}
+ // TODO: handle other events
}
}