Skip to content

Commit c9aec45

Browse files
committed
rename to "withOriginalStackTrace"
1 parent d7a9f26 commit c9aec45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

logback-classic/src/test/java/ch/qos/logback/classic/encoder/JsonEncoderTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ void withMDC() throws JsonProcessingException {
248248

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

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

0 commit comments

Comments
 (0)