Skip to content

Commit

Permalink
Include underlying exceptions when logging failures to write exit files
Browse files Browse the repository at this point in the history
  • Loading branch information
jon-signal committed Aug 17, 2023
1 parent 5c31ef4 commit ed0a723
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public void stop() {
writer.write("stopped");
}
} catch (final IOException e) {
logger.error("Failed to open file {}", path);
logger.error("Failed to open file {}", path, e);
}
}
}

0 comments on commit ed0a723

Please sign in to comment.