Code Review
/
portal
/
nonrtric-controlpanel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Improved error printouts
[portal/nonrtric-controlpanel.git]
/
webapp-frontend
/
src
/
app
/
policy-control
/
policy-type.datasource.ts
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
(file)
--- 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<PolicyType> {
this.policySvc.getPolicyTypes()
.pipe(
catchError((her: HttpErrorResponse) => {
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))
return of([]);
}),
finalize(() => this.loadingSubject.next(false))