From 8975d76b44aa48e189956eb30069957a8a2ae548 Mon Sep 17 00:00:00 2001 From: build-token <build-token> Date: Wed, 5 Jul 2023 12:10:53 +0000 Subject: [PATCH] publish: resolving thread generated from commit 2d590a7baef3fb0ec112af19db7f2d9733fce85e --- index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/index.js b/index.js index 7cb89f0..8273322 100644 --- a/index.js +++ b/index.js @@ -231,7 +231,7 @@ async function authenticate(login, password, baseUrl, apiAuthKey) { } } catch (error) { log('debug', error.message) - Sentry.captureException(error, { + Sentry.captureException(`Authenticate failed: ${error.message}`, { tags: { section: 'authenticate', }, @@ -287,7 +287,7 @@ async function getData(response, baseUrl, apiAuthKey) { throw errors.UNKNOWN_ERROR } } catch (error) { - Sentry.captureException(error, { + Sentry.captureException(`GetData failed: ${error.message}`, { tags: { section: 'getData', }, @@ -340,7 +340,7 @@ function format(response) { } }) } catch (error) { - Sentry.captureException(error, { + Sentry.captureException(`Format failed: ${error.message}`, { tags: { section: 'format', }, -- GitLab