From c68d5fc7bc49e736f51c84675e1d09696af4313f Mon Sep 17 00:00:00 2001 From: hnouts <hnouts@grandlyon.com> Date: Thu, 6 Jul 2023 10:03:56 +0200 Subject: [PATCH] publish: chore(logs): added section tags to the logs generated from commit cbe6228d45eafa0e6379fc6cf38bf600b10514cf --- index.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index b462c66..ee09d2e 100644 --- a/index.js +++ b/index.js @@ -231,10 +231,14 @@ async function authenticate(login, password, baseUrl, apiAuthKey) { } } catch (error) { log('debug', error.message) - Sentry.captureException(error, `Authenticate failed: ${error.message}`, { + Sentry.captureException(error, { tags: { section: 'authenticate', }, + extra: { + test: 'test', + who: login, + }, }) throw new Error(errors.LOGIN_FAILED) } -- GitLab