From 6a34a94bc5de69ebb8ae720976745ee8fbeed001 Mon Sep 17 00:00:00 2001 From: Pranav C Date: Tue, 30 Jul 2024 20:35:33 +0000 Subject: [PATCH] fix: add missing error handling --- packages/nc-gui/composables/useExtensions.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/nc-gui/composables/useExtensions.ts b/packages/nc-gui/composables/useExtensions.ts index fb23d0cfb1..7825c259d4 100644 --- a/packages/nc-gui/composables/useExtensions.ts +++ b/packages/nc-gui/composables/useExtensions.ts @@ -345,7 +345,9 @@ export const useExtensions = createSharedComposable(() => { () => base.value?.id, (baseId) => { if (baseId && !baseExtensions.value[baseId]) { - loadExtensionsForBase(baseId) + loadExtensionsForBase(baseId).catch((e) => { + console.error(e) + }) } }, {