SUPPORT-8999: refactor code

This commit is contained in:
Emir Suleimanov 2025-03-13 20:18:19 +03:00
parent dde833212f
commit 99da820694
4 changed files with 4 additions and 10 deletions

View file

@ -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());
});
}