Skip to content

Commit

Permalink
fix: logback logging exceptions with null message (#251)
Browse files Browse the repository at this point in the history
  • Loading branch information
athakor committed Dec 8, 2020
1 parent 767fbcb commit d9856f6
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -291,7 +291,7 @@ protected LoggingOptions getLoggingOptions() {
}

private LogEntry logEntryFor(ILoggingEvent e) {
StringBuilder payload = new StringBuilder(e.getFormattedMessage()).append('\n');
StringBuilder payload = new StringBuilder().append(e.getFormattedMessage()).append('\n');
writeStack(e.getThrowableProxy(), "", payload);

Level level = e.getLevel();
Expand Down

0 comments on commit d9856f6

Please sign in to comment.