From 70a206f30858f0be0ed38ddc789885857e731a0b Mon Sep 17 00:00:00 2001 From: Cyrus Goh Date: Wed, 4 Dec 2024 12:30:34 -0800 Subject: [PATCH] error handling --- web-admin/src/features/projects/status/ProjectResources.svelte | 3 +++ 1 file changed, 3 insertions(+) diff --git a/web-admin/src/features/projects/status/ProjectResources.svelte b/web-admin/src/features/projects/status/ProjectResources.svelte index f78235b7b81..ed29d8e91c4 100644 --- a/web-admin/src/features/projects/status/ProjectResources.svelte +++ b/web-admin/src/features/projects/status/ProjectResources.svelte @@ -37,6 +37,9 @@ }, refetchOnMount: true, keepPreviousData: true, + onError: () => { + stopPolling(); + }, }, }, );