@openfn/language-mailchimp 1.0.30 → 1.0.31
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.
- package/dist/index.cjs +2 -2
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -260,8 +260,8 @@ var assertOK = async (response, fullUrl) => {
|
|
|
260
260
|
try {
|
|
261
261
|
mailchimpError = await response.body.json();
|
|
262
262
|
} catch (e) {
|
|
263
|
-
console.
|
|
264
|
-
console.
|
|
263
|
+
console.warn("Error parsing mailchimp error body");
|
|
264
|
+
console.warn(e);
|
|
265
265
|
}
|
|
266
266
|
if (mailchimpError) {
|
|
267
267
|
throw mailchimpError;
|
package/dist/index.js
CHANGED
|
@@ -218,8 +218,8 @@ var assertOK = async (response, fullUrl) => {
|
|
|
218
218
|
try {
|
|
219
219
|
mailchimpError = await response.body.json();
|
|
220
220
|
} catch (e) {
|
|
221
|
-
console.
|
|
222
|
-
console.
|
|
221
|
+
console.warn("Error parsing mailchimp error body");
|
|
222
|
+
console.warn(e);
|
|
223
223
|
}
|
|
224
224
|
if (mailchimpError) {
|
|
225
225
|
throw mailchimpError;
|