X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fpolicy-control%2Fpolicy-type.datasource.ts;h=983fc968dca703b7efb1ae78e84844c012b1e9d4;hb=2e425bc51a5e8cb865db1e35e11ebe9240f72397;hp=97d792e817b19600db586fe1556ff023658747bd;hpb=626cd0f862a3513f9267fed66c21bf9053b7b163;p=portal%2Fnonrtric-controlpanel.git diff --git a/webapp-frontend/src/app/policy-control/policy-type.datasource.ts b/webapp-frontend/src/app/policy-control/policy-type.datasource.ts index 97d792e..983fc96 100644 --- a/webapp-frontend/src/app/policy-control/policy-type.datasource.ts +++ b/webapp-frontend/src/app/policy-control/policy-type.datasource.ts @@ -51,7 +51,7 @@ export class PolicyTypeDataSource extends DataSource { this.policySvc.getPolicyTypes() .pipe( catchError((her: HttpErrorResponse) => { - this.notificationService.error('Failed to get policy types: ' + her.message); + this.notificationService.error('Failed to get policy types: ' + her.statusText + ', ' + her.error); return of([]); }), finalize(() => this.loadingSubject.next(false))