X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=webapp-frontend%2Fsrc%2Fapp%2Fuser%2Fuser.datasource.ts;h=f53a2d3e7e282c06976a1d175eae05d51e520aba;hb=3f812ea25d352ec33d07f5ffa4c2aa2a77e8e793;hp=dcc036906719b73d6c6a21266052345265181740;hpb=226fd436a085f717d4cbf81bf1719bdaf1468414;p=portal%2Fric-dashboard.git diff --git a/webapp-frontend/src/app/user/user.datasource.ts b/webapp-frontend/src/app/user/user.datasource.ts index dcc03690..f53a2d3e 100644 --- a/webapp-frontend/src/app/user/user.datasource.ts +++ b/webapp-frontend/src/app/user/user.datasource.ts @@ -50,9 +50,9 @@ export class UserDataSource extends DataSource { this.loadingSubject.next(true); this.dashboardSvc.getUsers() .pipe( - catchError( (err: HttpErrorResponse) => { - console.log('UserDataSource failed: ' + err.message); - this.notificationService.error('Failed to get users.'); + catchError( (her: HttpErrorResponse) => { + console.log('UserDataSource failed: ' + her.message); + this.notificationService.error('Failed to get users: ' + her.message); return of([]); }), finalize(() => this.loadingSubject.next(false))