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 12e61c8 commit 668102bCopy full SHA for 668102b
src/main/java/com/cleanroommc/groovyscript/compat/mods/ModSupport.java
@@ -153,10 +153,9 @@ public void setup(ASMDataTable dataTable) {
153
if (!externalPluginClasses.contains(clazz)) {
154
registerContainer((GroovyPlugin) clazz.newInstance());
155
}
156
- } catch (ClassNotFoundException | InstantiationException e) {
157
- GroovyScript.LOGGER.error("Could not initialize Groovy Plugin '{}'", data.getClassName());
158
} catch (Throwable e) {
159
- throw new RuntimeException(e);
+ GroovyScript.LOGGER.error("Could not initialize Groovy Plugin class '{}'", data.getClassName());
+ GroovyScript.LOGGER.catching(e);
160
161
162
0 commit comments