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=9d99a37374c9266f3d11ff0a19c2d068571159ba;hp=97d792e817b19600db586fe1556ff023658747bd;hpb=f507d92d55ee77fad16cc024ea95c869e0d5dc32;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))