From 5d85a8c4f3e81541a72c21c29a7093a818aa1e6d Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Mon, 29 Mar 2021 23:27:56 +0800 Subject: [PATCH] Remove banner error reporting --- src/functions/wish.js | 8 -------- src/routes/wish/[id].svelte | 8 -------- 2 files changed, 16 deletions(-) diff --git a/src/functions/wish.js b/src/functions/wish.js index a3a3986a..ab922be8 100644 --- a/src/functions/wish.js +++ b/src/functions/wish.js @@ -105,14 +105,6 @@ export function process(id) { if (nextBanner === undefined) { pushToast(t('wish.errorBanner'), 'error'); - Sentry.captureMessage('failed to get current banner', { - contexts: { - pullData: { - pull, - path, - }, - }, - }); return null; } diff --git a/src/routes/wish/[id].svelte b/src/routes/wish/[id].svelte index b72e2d8d..ad884e2d 100644 --- a/src/routes/wish/[id].svelte +++ b/src/routes/wish/[id].svelte @@ -139,14 +139,6 @@ if (currentBanner === undefined) { pushToast($t('wish.errorBanner'), 'error'); - Sentry.captureMessage('failed to get current banner', { - contexts: { - pullData: { - pull, - path, - }, - }, - }); return; }