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 1332482 commit 50235beCopy full SHA for 50235be
spring-test/src/main/java/org/springframework/test/web/servlet/result/JsonPathResultMatchers.java
@@ -260,7 +260,7 @@ private String getContent(MvcResult result) throws UnsupportedEncodingException
260
return content.substring(this.prefix.length());
261
}
262
catch (StringIndexOutOfBoundsException ex) {
263
- throw new AssertionError("JSON prefix \"" + this.prefix + "\" not found", ex);
+ throw new AssertionError("JSON prefix \"" + this.prefix + "\" not found: " + ex);
264
265
266
else {
0 commit comments