Skip to content

High performance self-hosted photo and video management solution.

fix(server): print extra config keys on error (#5036)

Ishan Jain8f3ed8ba8e64
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;