From 8f3ed8ba8e64a302649a9edf15463b218e2618bd Mon Sep 17 00:00:00 2001 From: Ishan Jain Date: Tue, 14 Nov 2023 18:43:42 +0530 Subject: [PATCH] fix(server): print extra config keys on error (#5036) --- server/src/domain/system-config/system-config.core.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/src/domain/system-config/system-config.core.ts b/server/src/domain/system-config/system-config.core.ts index ebcd57740a..b3a030487a 100644 --- a/server/src/domain/system-config/system-config.core.ts +++ b/server/src/domain/system-config/system-config.core.ts @@ -328,7 +328,7 @@ export class SystemConfigCore { } if (!_.isEmpty(file)) { - throw new Error(`Unknown keys found: ${file}`); + throw new Error(`Unknown keys found: ${JSON.stringify(file)}`); } this.configCache = overrides;