File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
rebar/src/main/kotlin/io/github/pylonmc/rebar/recipe Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 11package io.github.pylonmc.rebar.recipe
22
3+ import io.github.pylonmc.rebar.Rebar
34import io.github.pylonmc.rebar.config.ConfigSection
45import io.github.pylonmc.rebar.config.adapter.ConfigAdapter
56import io.github.pylonmc.rebar.recipe.RebarRecipe.Companion.priority
@@ -22,10 +23,8 @@ abstract class ConfigurableRecipeType<T : RebarRecipe>(key: NamespacedKey) : Rec
2223 }
2324 addRecipe(recipe)
2425 } catch (e: Exception ) {
25- throw IllegalArgumentException (
26- " Failed to load recipe with key '$key ' from config for recipe type ${this .key} " ,
27- e
28- )
26+ Rebar .logger.severe(" Failed to load recipe with key '$key ' from config for recipe type ${this .key} " )
27+ e.printStackTrace()
2928 }
3029 }
3130 }
You can’t perform that action at this time.
0 commit comments