From 95488fd48d63d6c2a4fc22db9abada4c830ae4f6 Mon Sep 17 00:00:00 2001 From: Andrew Kingston Date: Mon, 24 Jan 2022 19:15:28 +0000 Subject: [PATCH] Don't show an error notification when failing API requests on the initial page load of the login page --- packages/builder/src/pages/builder/_layout.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/builder/src/pages/builder/_layout.svelte b/packages/builder/src/pages/builder/_layout.svelte index 10779b2491..1bdf495113 100644 --- a/packages/builder/src/pages/builder/_layout.svelte +++ b/packages/builder/src/pages/builder/_layout.svelte @@ -66,7 +66,8 @@ await validateTenantId() } } catch (error) { - notifications.error("Error initialising builder") + // Don't show a notification here, as we might 403 initially due to not + // being logged in } loaded = true })