mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[AAE-15126] App.config.service should log an error when the app.config.json is invalid (#8624)
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
Reference in New Issue
Block a user