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 60bafe2 commit 8c933bfCopy full SHA for 8c933bf
platform_api/src/main/java/net/modfest/platform/misc/JsonUtil.java
@@ -34,7 +34,7 @@ public <T> T readJson(Path path, Class<T> clazz) {
34
// to unchecked exceptions, since we'd be passing them up the chain any way
35
// Maybe in the future we can assure that io errors are even harder errors,
36
// and will shut the server down.
37
- throw new RuntimeException(e);
+ throw new RuntimeException("Failed while parsing: %s".formatted(path.toString()), e);
38
}
39
40
0 commit comments