diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-07-30 20:42:02 +1200 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-07-30 20:42:02 +1200 |
commit | 110c49504f87c025423c923500bd52ea4615b33b (patch) | |
tree | 2398fd3fa3286b35b6f80cad51b59703d3065b6e /src/org/traccar/helper/NamedParameterStatement.java | |
parent | 5f75f109dfc1140d2f644857d877baf88cb1fe83 (diff) | |
download | trackermap-server-110c49504f87c025423c923500bd52ea4615b33b.tar.gz trackermap-server-110c49504f87c025423c923500bd52ea4615b33b.tar.bz2 trackermap-server-110c49504f87c025423c923500bd52ea4615b33b.zip |
Improve logging system (fix #278)
Diffstat (limited to 'src/org/traccar/helper/NamedParameterStatement.java')
-rw-r--r-- | src/org/traccar/helper/NamedParameterStatement.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/org/traccar/helper/NamedParameterStatement.java b/src/org/traccar/helper/NamedParameterStatement.java index eb5c411f2..833f4aea3 100644 --- a/src/org/traccar/helper/NamedParameterStatement.java +++ b/src/org/traccar/helper/NamedParameterStatement.java @@ -132,7 +132,7 @@ public class NamedParameterStatement { try { reset(true); } catch (SQLException secondError) { - Log.warning("Exception during query preparation: " + secondError.getMessage()); + Log.warning(secondError); throw secondError; } } |