Skip to content

Commit

Permalink
feat(config): Log unknown parsing error at debug level (#32512)
Browse files Browse the repository at this point in the history
Co-authored-by: Rhys Arkins <rhys@arkins.net>
  • Loading branch information
rdicroce and rarkins authored Nov 13, 2024
1 parent 40a6004 commit de518af
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/workers/global/config/parse/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ export async function getConfig(env: NodeJS.ProcessEnv): Promise<AllConfig> {
logger.fatal(err.message);
process.exit(1);
} else if (env.RENOVATE_CONFIG_FILE) {
logger.debug({ err }, 'Parse error');
logger.fatal('Error parsing config file');
process.exit(1);
}
Expand Down

0 comments on commit de518af

Please # to comment.