From be603c6bdcde7efb41164959fcbd97df3478f4a0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Taavi=20V=C3=A4=C3=A4n=C3=A4nen?= Date: Sat, 8 Nov 2025 12:36:50 +0200 Subject: [PATCH] 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. --- server/plugins/inputs/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/plugins/inputs/index.ts b/server/plugins/inputs/index.ts index af5c0739..23abce20 100644 --- a/server/plugins/inputs/index.ts +++ b/server/plugins/inputs/index.ts @@ -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; }