Skip to content

Commit

Permalink
[AAE-15126] App.config.service should log an error when the app.confi…
Browse files Browse the repository at this point in the history
…g.json is invalid (#8624)
  • Loading branch information
eromano committed Jun 6, 2023
1 parent 6ec394d commit 2c5a6e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/core/src/lib/app-config/app-config.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,6 +197,8 @@ export class AppConfigService {
this.onDataLoaded(data);
},
() => {
// eslint-disable-next-line no-console
console.error('app.config.json contains validation errors');
resolve(this.config);
}
);
Expand Down

0 comments on commit 2c5a6e5

Please sign in to comment.