From 9e42e8013d7581e0e188226095ff695a51cee2d7 Mon Sep 17 00:00:00 2001 From: Erik Jan de Wit Date: Wed, 18 Sep 2024 15:53:28 +0200 Subject: [PATCH] add error to the console for debugging (#33041) fixes: #33040 Signed-off-by: Erik Jan de Wit --- js/libs/ui-shared/src/utils/useFetch.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/js/libs/ui-shared/src/utils/useFetch.ts b/js/libs/ui-shared/src/utils/useFetch.ts index 5626285504..89f4eaecf0 100644 --- a/js/libs/ui-shared/src/utils/useFetch.ts +++ b/js/libs/ui-shared/src/utils/useFetch.ts @@ -33,6 +33,7 @@ export function useFetch( } }) .catch((error) => { + console.error(error); if (!signal.aborted) { showBoundary(error); }