Browse Source

Merge pull request #444 from Sam-Kruglov/patch-1

Log the nested exception as well
pull/517/head
kallestenflo 6 years ago committed by GitHub
parent
commit
2911bdbb7b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      json-path/src/main/java/com/jayway/jsonpath/spi/json/JacksonJsonProvider.java

2
json-path/src/main/java/com/jayway/jsonpath/spi/json/JacksonJsonProvider.java

@ -93,7 +93,7 @@ public class JacksonJsonProvider extends AbstractJsonProvider {
generator.close();
return writer.getBuffer().toString();
} catch (IOException e) {
throw new InvalidJsonException();
throw new InvalidJsonException(e);
}
}

Loading…
Cancel
Save