Add 'else' block to ensure all exceptions are logged.

This commit is contained in:
Alex Bramley committed 2016-01-25 08:13:42 +00:00
1 parent c49c3ce4da
commit 06a849ad79
1 file changed
+2
@@ -218,6 +218,8 @@ public class MineTweakerImplementationAPI {
ShapelessRecipe shapeless = (ShapelessRecipe) recipe;
IItemStack out = shapeless.getOutput();
MineTweakerAPI.logError("Could not dump recipe for " + out, ex);
} else {
MineTweakerAPI.logError("Could not dump recipe", ex)
}
}
}