We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2df2589 commit 8c52e1fCopy full SHA for 8c52e1f
src/test/java/com/fasterxml/jackson/databind/ser/jdk/CustomExceptionSer5194Test.java
@@ -41,7 +41,9 @@ public void test5194() throws Exception {
41
.visibility(PropertyAccessor.FIELD, JsonAutoDetect.Visibility.ANY)
42
.build();
43
44
- String json = mapper.writeValueAsString(new MyIllegalArgumentException());
+ String json = mapper.writerWithDefaultPrettyPrinter()
45
+ .writeValueAsString(new MyIllegalArgumentException());
46
+ //System.err.println("JSON: " + json);
47
assertNotNull(json);
48
}
49
0 commit comments