From 091e4fdd32f1a182cac5b7ee93330add9cc5bf7c Mon Sep 17 00:00:00 2001 From: Bastien Dumont <bdumont@grandlyon.com> Date: Mon, 18 Sep 2023 10:45:18 +0200 Subject: [PATCH] capture tag --- src/core/findUserPdl.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/core/findUserPdl.js b/src/core/findUserPdl.js index 7fdad2d..137a8cc 100644 --- a/src/core/findUserPdl.js +++ b/src/core/findUserPdl.js @@ -80,7 +80,11 @@ async function findUserPdl( } } catch (error) { log('error', 'Error while findingUserPdl', error) - Sentry.captureException(error) + Sentry.captureException(error, { + tags: { + section: 'findUserPdl', + }, + }) throw new Error(errors.VENDOR_DOWN) } } -- GitLab