@attraccess/plugin-rabbitmq 0.1.0-nightly.990.1 → 0.1.0-nightly.991.1
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 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -403,19 +403,6 @@ var RabbitmqManagementClient = class {
|
|
|
403
403
|
return null;
|
|
404
404
|
}
|
|
405
405
|
}
|
|
406
|
-
describeNetworkError(error) {
|
|
407
|
-
if (error instanceof Error) {
|
|
408
|
-
if (error.name === "AbortError") {
|
|
409
|
-
return `no response within ${REQUEST_TIMEOUT_MS}ms`;
|
|
410
|
-
}
|
|
411
|
-
const cause = error.cause;
|
|
412
|
-
if (cause instanceof Error && cause.message) {
|
|
413
|
-
return cause.message;
|
|
414
|
-
}
|
|
415
|
-
return error.message;
|
|
416
|
-
}
|
|
417
|
-
return "unknown network error";
|
|
418
|
-
}
|
|
419
406
|
};
|
|
420
407
|
RabbitmqManagementClient = __decorateClass([
|
|
421
408
|
(0, import_common3.Injectable)()
|