mirror of
https://github.com/thelounge/thelounge.git
synced 2026-03-14 14:35:50 +01:00
server: Fix quoting in error message
In the error message about an invalid plugin command, only quote the command name and not the rest of the error message after the command name.
This commit is contained in:
parent
32f0181433
commit
be603c6bdc
1 changed files with 1 additions and 1 deletions
|
|
@ -108,7 +108,7 @@ const addPluginCommand = (packageInfo: PackageInfo, command: any, obj: any) => {
|
|||
return;
|
||||
} else if (!obj || typeof obj.input !== "function") {
|
||||
log.error(
|
||||
`plugin ${packageInfo.packageName} tried to register command "${command} without a callback"`
|
||||
`plugin ${packageInfo.packageName} tried to register command "${command}" without a callback`
|
||||
);
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue