Skip to content

Commit

Permalink
pass cause to log to know actual error
Browse files Browse the repository at this point in the history
  • Loading branch information
maxandersen committed Dec 10, 2023
1 parent fbd0212 commit 403011a
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 403011a

Please sign in to comment.