Strengthen exception when parsing models
This commit is contained in:
parent
4f35a6cda3
commit
e724c4dfb1
|
|
@ -199,8 +199,8 @@ public abstract class ModelBakeryMixin {
|
|||
model.name = pair.getFirst().toString();
|
||||
basicModels.put(pair.getFirst(), model);
|
||||
}
|
||||
} catch(Exception e) {
|
||||
ModernFix.LOGGER.warn("Unable to load {}: {}", pair.getFirst(), e);
|
||||
} catch(Throwable e) {
|
||||
ModernFix.LOGGER.warn("Unable to parse {}: {}", pair.getFirst(), e);
|
||||
}
|
||||
}
|
||||
modelBytes.clear();
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user