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

This commit is contained in:
Ishan Jain 2023-11-14 18:43:42 +05:30 committed by GitHub
parent dc4e6c4629
commit 8f3ed8ba8e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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;