Use a generic log message for this

This commit is contained in:
Andre601 2021-01-03 15:38:10 +01:00
parent b99335e5b2
commit 0a52ef7219
1 changed files with 2 additions and 6 deletions

View File

@ -358,12 +358,8 @@ public final class LocalExpansionManager implements Listener {
throw ((LinkageError) ex.getCause());
}
/* Currently causes an exception when clazz is null due to an expansion not having any.
*
*plugin.getLogger()
* .log(Level.SEVERE, "Failed to load placeholder expansion from class: " + clazz.getName(),
* ex);
*/
plugin.getLogger().warning("There was an issue with loading an expansion");
return null;
}
}