16947: do not produce snackbar errors in validateSessions()
[arvados-workbench2.git] / src / store / auth / auth-action-session.ts
index 0f85e9ac5005fe5de7274d2dbe5d8526a9cfa81d..8fc178101f2fc7d4885cfb281748cc102e763385 100644 (file)
@@ -188,10 +188,11 @@ export const validateSessions = () =>
                           places in Workbench2. */
                         await dispatch(validateSession(session, activeSession));
                     } catch (e) {
-                        dispatch(snackbarActions.OPEN_SNACKBAR({
-                            message: e.message,
-                            kind: SnackbarKind.ERROR
-                        }));
+                        // Don't do anything here.  User may get
+                        // spammed with multiple messages that are not
+                        // helpful.  They can see the individual
+                        // errors by going to site manager and trying
+                        // to toggle the session.
                     }
                 }
             }