mirror of
https://github.com/PlaceholderAPI/PlaceholderAPI
synced 2026-07-21 14:04:29 +02:00
improve(logging): log expansion instantiation failures with stack trace
This commit is contained in:
@@ -455,7 +455,7 @@ public final class LocalExpansionManager implements Listener {
|
|||||||
throw ((LinkageError) ex.getCause());
|
throw ((LinkageError) ex.getCause());
|
||||||
}
|
}
|
||||||
|
|
||||||
Msg.warn("There was an issue with loading an expansion.");
|
Msg.severe("Failed to create expansion instance for class %s.", ex, clazz.getName());
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user