@open-wa/wa-automate 4.54.2 → 4.54.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -176,6 +176,10 @@ const setupChatwootOutgoingMessageHandler = (cliConfig, client) => __awaiter(voi
176
176
  data,
177
177
  url,
178
178
  headers: Object.assign({ api_access_token }, _headers)
179
+ }).catch(error => {
180
+ var _a, _b;
181
+ __1.log.error(`CW REQ ERROR: ${(_a = error === null || error === void 0 ? void 0 : error.response) === null || _a === void 0 ? void 0 : _a.status} ${(_b = error === null || error === void 0 ? void 0 : error.response) === null || _b === void 0 ? void 0 : _b.message}`, error === null || error === void 0 ? void 0 : error.toJSON());
182
+ throw error;
179
183
  });
180
184
  };
181
185
  let { data: get_inbox } = yield cwReq('get', `inboxes/${inboxId}`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@open-wa/wa-automate",
3
- "version": "4.54.2",
3
+ "version": "4.54.4",
4
4
  "licenseCheckUrl": "https://funcs.openwa.dev/license-check",
5
5
  "brokenMethodReportUrl": "https://funcs.openwa.dev/report-bm",
6
6
  "patches": "https://cdn.openwa.dev/patches.json",