From 008a5d324753f549cefc38ccd7c7f2db1eff50e7 Mon Sep 17 00:00:00 2001
From: build-token <build-token>
Date: Tue, 27 Aug 2024 14:10:11 +0000
Subject: [PATCH] publish: fix: prevent malformed pointId from re-running

generated from commit 0668d05819e47d2c44216b765da098cc24b771bd
---
 index.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/index.js b/index.js
index eb6dcdd..7884fa8 100644
--- a/index.js
+++ b/index.js
@@ -297497,7 +297497,7 @@ module.exports = {
 /***/ ((module, __unused_webpack_exports, __webpack_require__) => {
 
 // @ts-check
-const { log } = __webpack_require__(635)
+const { log, errors } = __webpack_require__(635)
 const moment = __webpack_require__(2041)
 const Sentry = __webpack_require__(2)
 
@@ -297737,7 +297737,7 @@ function parsePointId(pointId) {
         pointId: pointId,
       },
     })
-    throw new Error(errorMessage)
+    throw new Error(errors.USER_ACTION_NEEDED_ACCOUNT_REMOVED)
   }
 }
 
-- 
GitLab