From 1165b804d5b1dcfd78c9892cf4fab4e7eaaf55ee Mon Sep 17 00:00:00 2001
From: hnouts <hnouts@grandlyon.com>
Date: Thu, 6 Jul 2023 09:53:25 +0200
Subject: [PATCH] publish: chore(logs): added section tags to the logs

generated from commit cbe6228d45eafa0e6379fc6cf38bf600b10514cf
---
 index.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/index.js b/index.js
index 8273322..b462c66 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(`Authenticate failed: ${error.message}`, {
+    Sentry.captureException(error, `Authenticate failed: ${error.message}`, {
       tags: {
         section: 'authenticate',
       },
-- 
GitLab