Skip to content

Commit

Permalink
rename to "withOriginalStackTrace"
Browse files Browse the repository at this point in the history
Signed-off-by: Gregor Zeitlinger <[email protected]>
  • Loading branch information
zeitlinger committed Apr 22, 2024
1 parent 1d4eb4a commit 0c74c0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ void withMDC() throws JsonProcessingException {

@Test
void withThrowable() throws JsonProcessingException {
Throwable t = new RuntimeException("test", new IllegalStateException("test cause"));
Throwable t = new RuntimeException("test");
LoggingEvent event = new LoggingEvent("in withThrowable test", logger, Level.WARN, "hello kvp", t, null);

byte[] resultBytes = jsonEncoder.encode(event);
Expand Down

0 comments on commit 0c74c0b

Please sign in to comment.