diff options
author | Anton Tananaev <anton.tananaev@gmail.com> | 2013-03-24 11:24:27 +1300 |
---|---|---|
committer | Anton Tananaev <anton.tananaev@gmail.com> | 2013-03-24 11:24:27 +1300 |
commit | 8bae4d69ba4db1a36201fa7c2745a85719902233 (patch) | |
tree | 7f1025b2dde76ee8b721b7049b70b3fde57f30df /src/org/traccar | |
parent | 160e0c32eccdce5bfab5f449e291a7b45703b823 (diff) | |
download | traccar-server-8bae4d69ba4db1a36201fa7c2745a85719902233.tar.gz traccar-server-8bae4d69ba4db1a36201fa7c2745a85719902233.tar.bz2 traccar-server-8bae4d69ba4db1a36201fa7c2745a85719902233.zip |
Log database error
Diffstat (limited to 'src/org/traccar')
-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 f507a4cf8..eb5c411f2 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.info("Exception during query preparation"); + Log.warning("Exception during query preparation: " + secondError.getMessage()); throw secondError; } } |