From c661e4f1df42552d1a3d93a0ff743bf87696e719 Mon Sep 17 00:00:00 2001
From: build-token <build-token>
Date: Thu, 1 Aug 2024 07:55:30 +0000
Subject: [PATCH] publish: avoid catching 3 times

generated from commit 8755042d806076455fb3e8f82d9de8f47a550977
---
 index.js | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/index.js b/index.js
index 0c4aab2..eb6dcdd 100644
--- a/index.js
+++ b/index.js
@@ -297580,14 +297580,9 @@ function parseServiceId(result) {
   if (contractInfo !== undefined) {
     return contractInfo['serviceSouscritId']
   } else {
-    const errorMessage =
+    throw new Error(
       "No serviceSouscritId found, contract hasn't been created properly."
-    Sentry.captureException(errorMessage, {
-      tags: {
-        section: 'parseServiceId',
-      },
-    })
-    throw new Error(errorMessage)
+    )
   }
 }
 
-- 
GitLab