diff --git a/index.js b/index.js index 7cb89f0d33de020f0309b4a4e2a57fadc0830868..82733226c6fe1a525c3043d567f5dd9673f2e8c7 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', },