fix: Log plugin name in assertion (#1786)
This commit is contained in:
parent
297abae6bb
commit
648c3638e8
@ -15,7 +15,7 @@ public class FrameProcessorPluginRegistry {
|
|||||||
@Keep
|
@Keep
|
||||||
public static void addFrameProcessorPlugin(String name, PluginInitializer pluginInitializer) {
|
public static void addFrameProcessorPlugin(String name, PluginInitializer pluginInitializer) {
|
||||||
assert !Plugins.containsKey(name) : "Tried to add a Frame Processor Plugin with a name that already exists! " +
|
assert !Plugins.containsKey(name) : "Tried to add a Frame Processor Plugin with a name that already exists! " +
|
||||||
"Either choose unique names, or remove the unused plugin. Name: ";
|
"Either choose unique names, or remove the unused plugin. Name: " + name;
|
||||||
Plugins.put(name, pluginInitializer);
|
Plugins.put(name, pluginInitializer);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user