mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2025-09-05 17:07:06 +02:00
Use a generic log message for this
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user