aboutsummaryrefslogtreecommitdiff
path: root/src/org/traccar
diff options
context:
space:
mode:
authorAnton Tananaev <anton.tananaev@gmail.com>2013-03-24 11:24:27 +1300
committerAnton Tananaev <anton.tananaev@gmail.com>2013-03-24 11:24:27 +1300
commit8bae4d69ba4db1a36201fa7c2745a85719902233 (patch)
tree7f1025b2dde76ee8b721b7049b70b3fde57f30df /src/org/traccar
parent160e0c32eccdce5bfab5f449e291a7b45703b823 (diff)
downloadtrackermap-server-8bae4d69ba4db1a36201fa7c2745a85719902233.tar.gz
trackermap-server-8bae4d69ba4db1a36201fa7c2745a85719902233.tar.bz2
trackermap-server-8bae4d69ba4db1a36201fa7c2745a85719902233.zip
Log database error
Diffstat (limited to 'src/org/traccar')
-rw-r--r--src/org/traccar/helper/NamedParameterStatement.java2
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;
}
}