SUPPORT-8999: refactor code
This commit is contained in:
parent
dde833212f
commit
99da820694
4 changed files with 4 additions and 10 deletions
|
|
@ -62,8 +62,9 @@ export class UserManagementService extends Behavior {
|
|||
|
||||
private doRequest(url: string, jsonObj: any): void {
|
||||
this.httpClient.post(url, jsonObj).toPromise()
|
||||
.catch(() => {
|
||||
.catch(reason => {
|
||||
//TODO change status
|
||||
console.error("Error while executing request:", reason.toString());
|
||||
});
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue