creative icon indicating copy to clipboard operation
creative copied to clipboard

Don't throw on file parse errors

Open rtm516 opened this issue 11 months ago • 0 comments

Currently, if a single invalid file tries to get parsed the whole parsing crashes with an error, it should do some form of warn and continue. This would mean if single files failed to parse then we would still get an output just with some bits missing.

The crash out is due to this throw inside a try-catch https://github.com/unnamed/creative/blob/5208c013e2d89eb854217da254c5727757da7054/serializer-minecraft/src/main/java/team/unnamed/creative/serialize/minecraft/MinecraftResourcePackReaderImpl.java#L271-L273

rtm516 avatar Mar 02 '24 12:03 rtm516