From 600e61b72d4f77dc82f103a786dd3d40098ca774 Mon Sep 17 00:00:00 2001 From: Jordan Shatford Date: Wed, 27 Sep 2023 14:39:02 +1000 Subject: [PATCH] chore(web): improve error message when failing to setup session Signed-off-by: Jordan Shatford --- apps/web/src/lib/stores/session.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/lib/stores/session.ts b/apps/web/src/lib/stores/session.ts index 68148049..a0efdece 100644 --- a/apps/web/src/lib/stores/session.ts +++ b/apps/web/src/lib/stores/session.ts @@ -12,7 +12,7 @@ function createSessionStore() { const session = await SessionService.getSession(); set(session.id); } catch (err) { - toast.error('Error', 'Failed to get session. Re-attempting shortly.'); + toast.error('Error', 'Failed to setup session. Re-attempting shortly.'); console.error('Connection failed, could not connect to internal server. ', err); _reAttempt(); }