From a15d4332d73b455e858275af7319bc67cd3fa36d Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Sat, 20 Jul 2024 15:26:48 +0200 Subject: [PATCH] Ignore failures when sending with `Share project data` and there is no project data (#4371) This seems to be the common case now, but let's keep that option in case that changes. --- app/src/lib/components/ShareIssueModal.svelte | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/lib/components/ShareIssueModal.svelte b/app/src/lib/components/ShareIssueModal.svelte index d1a58d9947..32d78c208f 100644 --- a/app/src/lib/components/ShareIssueModal.svelte +++ b/app/src/lib/components/ShareIssueModal.svelte @@ -82,6 +82,7 @@ ? zip .gitbutlerData({ projectId }) .then(async (path) => await readZipFile(path, 'data.zip')) + .catch(() => undefined) : undefined, sendProjectRepository ? zip