From a13fd19b69f5c1fe039ff73ba4ef6f2dccc97aca Mon Sep 17 00:00:00 2001 From: Made Baruna Date: Mon, 29 Mar 2021 08:33:57 +0800 Subject: [PATCH] Include path on error --- src/functions/wish.js | 1 + src/routes/wish/[id].svelte | 1 + 2 files changed, 2 insertions(+) diff --git a/src/functions/wish.js b/src/functions/wish.js index c628e1c2..6fb284bb 100644 --- a/src/functions/wish.js +++ b/src/functions/wish.js @@ -104,6 +104,7 @@ export function process(id) { Sentry.captureException(new Error('failed to get current banner'), { contexts: { pull, + path, }, }); return null; diff --git a/src/routes/wish/[id].svelte b/src/routes/wish/[id].svelte index 10639551..521db45a 100644 --- a/src/routes/wish/[id].svelte +++ b/src/routes/wish/[id].svelte @@ -142,6 +142,7 @@ Sentry.captureException(new Error('failed to get current banner'), { contexts: { pull, + path, }, }); return;