Skip to content

Commit

Permalink
Merge pull request #38 from dogukancagatay/fix-appender-exception-han…
Browse files Browse the repository at this point in the history
…dling

fix: improve exception handling and logging consistency
  • Loading branch information
dogukancagatay authored Feb 28, 2025
2 parents 7ab6bb3 + 283b7b0 commit 84d8b57
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 84d8b57

Please sign in to comment.