Permalink
Browse files

log close errors

  • Loading branch information...
1 parent 321bcb5 commit 9a84102dccbf74188b3c3036742c833bac60ee2c @timf committed Feb 21, 2013
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/main/java/org/dasein/persist/jdbc/Loader.java
@@ -197,7 +197,9 @@ public void prepare(Map<String,Object> params) throws SQLException {
}
finally {
try { results.close(); }
- catch( SQLException e ) { }
+ catch( SQLException e ) {
+ logger.error("Problem closing results: " + e.getMessage(), e);
+ }
}
long endTimestamp = System.currentTimeMillis();

0 comments on commit 9a84102

Please sign in to comment.