rl-rock 1.2.6 → 1.2.7
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.js +0 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -303,9 +303,6 @@ var HttpUtils = class {
|
|
|
303
303
|
}
|
|
304
304
|
return httpResponse;
|
|
305
305
|
} catch (error) {
|
|
306
|
-
if (error instanceof axios.AxiosError) {
|
|
307
|
-
throw new Error(`Failed to POST ${url}: ${error.message}`);
|
|
308
|
-
}
|
|
309
306
|
throw error;
|
|
310
307
|
}
|
|
311
308
|
}
|
|
@@ -330,9 +327,6 @@ var HttpUtils = class {
|
|
|
330
327
|
}
|
|
331
328
|
return httpResponse;
|
|
332
329
|
} catch (error) {
|
|
333
|
-
if (error instanceof axios.AxiosError) {
|
|
334
|
-
throw new Error(`Failed to GET ${url}: ${error.message}`);
|
|
335
|
-
}
|
|
336
330
|
throw error;
|
|
337
331
|
}
|
|
338
332
|
}
|
|
@@ -412,9 +406,6 @@ var HttpUtils = class {
|
|
|
412
406
|
}
|
|
413
407
|
return httpResponse;
|
|
414
408
|
} catch (error) {
|
|
415
|
-
if (error instanceof axios.AxiosError) {
|
|
416
|
-
throw new Error(`Failed to POST multipart ${url}: ${error.message}`);
|
|
417
|
-
}
|
|
418
409
|
throw error;
|
|
419
410
|
}
|
|
420
411
|
}
|