fix: config error logging (#9738)

This commit is contained in:
Jason Rasmussen 2024-05-24 16:44:50 -04:00 committed by GitHub
parent f197f5d530
commit 95012dc19b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 16 additions and 0 deletions

View file

@ -137,6 +137,7 @@ export class SystemConfigCore {
return loadYaml(file.toString()) as unknown;
} catch (error: Error | any) {
this.logger.error(`Unable to load configuration file: ${filepath}`);
this.logger.error(error);
throw error;
}
}