From a034ae3dfc014dc748fdb4d2ca2a05e5da9077b0 Mon Sep 17 00:00:00 2001
From: "hamza.hramchi" <hamza.hramchi@xelians.fr>
Date: Fri, 23 Oct 2020 11:04:12 +0200
Subject: [PATCH] FEAT #15056 TIME 0:05 change error type + keep the old freeze
 and binding value in case of error

---
 src/frontend/app/process/process.component.ts | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/src/frontend/app/process/process.component.ts b/src/frontend/app/process/process.component.ts
index 0eebe7b5982..4a895b36361 100755
--- a/src/frontend/app/process/process.component.ts
+++ b/src/frontend/app/process/process.component.ts
@@ -850,7 +850,8 @@ export class ProcessComponent implements OnInit, OnDestroy {
                 }
                 ),
                 catchError((err: any) => {
-                    this.notify.handleErrors(err);
+                    this.resourceFreezed = !this.resourceFreezed;
+                    this.notify.handleSoftErrors(err);
                     return of(false);
                 })
             ).subscribe();
@@ -868,7 +869,8 @@ export class ProcessComponent implements OnInit, OnDestroy {
             }
             ),
             catchError((err: any) => {
-                this.notify.handleErrors(err);
+                this.resourceBinded = !this.resourceBinded;
+                this.notify.handleSoftErrors(err);
                 return of(false);
             })
         ).subscribe();
-- 
GitLab