Skip to content

Commit

Permalink
Update api/src/plugins/plugins.service.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
marrouchi authored Jan 3, 2025
1 parent 1c61379 commit 7e116fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/src/plugins/plugins.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export class PluginService<T extends BasePlugin = BasePlugin> {
const registry = this.registry.get(type) as Map<PluginName, T>;
if (registry.has(name)) {
throw new InternalServerErrorException(
`setPlugin: Unable to setPlugin with name ${name} of type ${type} (duplicate names)`,
`Unable to setPlugin() with name ${name} of type ${type} (possible duplicate)`,
);
}
registry.set(name, plugin);
Expand Down

0 comments on commit 7e116fa

Please sign in to comment.