Skip to content

Commit

Permalink
fix: improve exception handling and logging consistency
Browse files Browse the repository at this point in the history
Replace stack trace printing with proper exception handling.
  • Loading branch information
dogukancagatay committed Feb 28, 2025
1 parent faab35d commit 283b7b0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ protected void append(ILoggingEvent event) {

journald.sd_journal_send("MESSAGE=%s", messages.toArray());
} catch (Exception e) {
e.printStackTrace();
addError("Failed to append event to systemd journal", e);
}
}

Expand Down

0 comments on commit 283b7b0

Please sign in to comment.