@aloma.io/integration-sdk 3.3.86 → 3.3.87
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/build/internal/index.mjs
CHANGED
@@ -115,6 +115,10 @@ class Fetcher {
|
|
115
115
|
if (e.status === 429) {
|
116
116
|
return local.onError(e, url, options, retries, args, true);
|
117
117
|
}
|
118
|
+
// bad request
|
119
|
+
if (e.status === 400 || e.status === 422) {
|
120
|
+
throw (e);
|
121
|
+
}
|
118
122
|
--retries;
|
119
123
|
console.log(theURL, e);
|
120
124
|
if (retries <= 0)
|
package/package.json
CHANGED
package/src/internal/index.mjs
CHANGED