Skip to content

Commit

Permalink
fix(server): print extra config keys on error (immich-app#5036)
Browse files Browse the repository at this point in the history
  • Loading branch information
ishanjain28 authored Nov 14, 2023
1 parent dc4e6c4 commit 8f3ed8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/domain/system-config/system-config.core.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 8f3ed8b

Please sign in to comment.