From 875c93473c84ef4019b885f884b9ccb00e5e1037 Mon Sep 17 00:00:00 2001 From: hnouts <hnouts@grandlyon.com> Date: Thu, 6 Jul 2023 10:28:39 +0200 Subject: [PATCH] publish: chore(logs): add "extra" information to sentry scope generated from commit 731519c121db90668b687c8ff1910f1273e178d8 --- index.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 6a6abec..b6028ad 100644 --- a/index.js +++ b/index.js @@ -346,7 +346,8 @@ function format(response) { } }) } catch (error) { - Sentry.captureException(`Format failed: ${error.message}`, { + log('debug', error.message) + Sentry.captureException(error, { tags: { section: 'format', }, -- GitLab