From 6bc416f4a6b35e77857d99eec43880a6c599b19e Mon Sep 17 00:00:00 2001 From: "Javier \"Ciberman\" Mora" Date: Fri, 21 Nov 2025 20:24:54 -0300 Subject: [PATCH 1/2] Add log lines for Sentry initialization status --- index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/index.js b/index.js index 6dd6c46..b425691 100644 --- a/index.js +++ b/index.js @@ -15,7 +15,6 @@ function getGitTag() { } } -// Initialize Sentry if (process.env.SENTRY_DSN) { Sentry.init({ dsn: process.env.SENTRY_DSN, @@ -23,6 +22,9 @@ if (process.env.SENTRY_DSN) { release: getGitTag(), integrations: [Sentry.captureConsoleIntegration({ levels: ['error'] })], }); + console.log('Sentry initialized'); +} else { + console.log('Sentry DSN not provided, Sentry not initialized'); } const request = require('request'); From 7d1f7252c69312311159ba47459df5a7e8e8ef6d Mon Sep 17 00:00:00 2001 From: "Javier \"Ciberman\" Mora" Date: Fri, 21 Nov 2025 20:26:49 -0300 Subject: [PATCH 2/2] Lint --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index b425691..e440d29 100644 --- a/index.js +++ b/index.js @@ -22,9 +22,9 @@ if (process.env.SENTRY_DSN) { release: getGitTag(), integrations: [Sentry.captureConsoleIntegration({ levels: ['error'] })], }); - console.log('Sentry initialized'); + console.log('Sentry initialized'); } else { - console.log('Sentry DSN not provided, Sentry not initialized'); + console.log('Sentry DSN not provided, Sentry not initialized'); } const request = require('request');