Skip to content

Commit

Permalink
Merge pull request #120 from maxandersen/logex
Browse files Browse the repository at this point in the history
pass cause to log to know actual error
  • Loading branch information
geoand authored Dec 10, 2023
2 parents fbd0212 + 403011a commit a916ae4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public void destroy(AutoCloseable instance, CreationalContext<AutoCloseable> cre
try {
instance.close();
} catch (Exception e) {
log.error("Unable to close " + instance);
log.error("Unable to close " + instance, e);
}
}
}

0 comments on commit a916ae4

Please sign in to comment.