[AAE-15126] App.config.service should log an error when the app.config.json is invalid (#8624)

This commit is contained in:
Eugenio Romano
2023-06-06 10:04:51 +02:00
committed by GitHub
parent 6ec394da5f
commit 2c5a6e50e2

View File

@@ -197,6 +197,8 @@ export class AppConfigService {
this.onDataLoaded(data); this.onDataLoaded(data);
}, },
() => { () => {
// eslint-disable-next-line no-console
console.error('app.config.json contains validation errors');
resolve(this.config); resolve(this.config);
} }
); );