File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
src/main/java/org/mvplugins/multiverse/core/world/generators Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,12 @@ private boolean testIsGeneratorPlugin(Plugin plugin) {
102102 } catch (Throwable t ) {
103103 Logging .warning ("Plugin %s threw an exception when testing if it is a generator plugin! " ,
104104 plugin .getName ());
105- Logging .warning ("This is NOT a bug in Multiverse. Do NOT report this to Multiverse support." );
106- t .printStackTrace ();
105+ Logging .warning ("Error by plugin %s: %s" , plugin .getName (), t .getMessage ());
106+ Logging .warning ("This is NOT a bug in Multiverse. Do NOT report this to Multiverse support. " +
107+ "Enable debug mode with `/mv debug 1` to see the full stack trace." );
108+ if (coreConfig .getGlobalDebug () >= 1 ) {
109+ t .printStackTrace ();
110+ }
107111 // Assume it's a generator plugin since it tried to do something, most likely the id is wrong.
108112 return true ;
109113 }
You can’t perform that action at this time.
0 commit comments