diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2012-10-23 10:31:29 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2012-10-23 10:31:29 +1300 |
commit | f151afb7046c79184bbb9dcf1215a99731728599 (patch) | |
tree | ae5ee7fad2a3d23de6d94b6f0a0a4d699376117a /src/org/traccar/TrackerEventHandler.java | |
parent | 0af1cebf1e2f3f719edf5391252fcd4004a75157 (diff) | |
download | trackermap-server-f151afb7046c79184bbb9dcf1215a99731728599.tar.gz trackermap-server-f151afb7046c79184bbb9dcf1215a99731728599.tar.bz2 trackermap-server-f151afb7046c79184bbb9dcf1215a99731728599.zip |
Reset connection on error (fix #52)
Diffstat (limited to 'src/org/traccar/TrackerEventHandler.java')
-rw-r--r-- | src/org/traccar/TrackerEventHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/org/traccar/TrackerEventHandler.java b/src/org/traccar/TrackerEventHandler.java index 9e46372ca..bd3e90160 100644 --- a/src/org/traccar/TrackerEventHandler.java +++ b/src/org/traccar/TrackerEventHandler.java @@ -63,6 +63,7 @@ public class TrackerEventHandler extends SimpleChannelHandler { try { dataManager.addPosition(position); } catch (Exception error) { + Log.info("Exception during query execution"); Log.warning(error.getMessage()); } } |