Disable general error notification
authorDaniel Kos <daniel.kos@contractors.roche.com>
Tue, 18 Sep 2018 13:26:16 +0000 (15:26 +0200)
committerDaniel Kos <daniel.kos@contractors.roche.com>
Tue, 18 Sep 2018 13:26:16 +0000 (15:26 +0200)
No issue #

Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos@contractors.roche.com>

src/index.tsx

index 0d026f2389f2713372607cc718e681758e769725..020f5482cd2e28e07ce78061ea2dd07a33302c0f 100644 (file)
@@ -68,8 +68,8 @@ fetchConfig()
                 store.dispatch(progressIndicatorActions.TOGGLE_WORKING({ id, working }));
             },
             errorFn: (id, error) => {
-                console.error("Backend error:", error);
-                store.dispatch(snackbarActions.OPEN_SNACKBAR({ message: "Backend error", kind: SnackbarKind.ERROR }));
+                // console.error("Backend error:", error);
+                // store.dispatch(snackbarActions.OPEN_SNACKBAR({ message: "Backend error", kind: SnackbarKind.ERROR }));
             }
         });
         const store = configureStore(history, services);