@yolo-croket-dev/core 1.7.25-slowquery.37 → 1.7.25-slowquery.38
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.
|
@@ -301,12 +301,6 @@ let RPCInterceptor = class RPCInterceptor {
|
|
|
301
301
|
abortController.abort();
|
|
302
302
|
return (0, rxjs_1.throwError)(() => new Error(this.DEFAULT_TIMEOUT_MESSAGE));
|
|
303
303
|
},
|
|
304
|
-
}), (0, operators_1.catchError)((error) => {
|
|
305
|
-
// abort된 경우와 일반 에러를 구분
|
|
306
|
-
if (abortController.signal.aborted) {
|
|
307
|
-
return (0, rxjs_1.throwError)(() => new Error(`REQUEST_ABORTED: ${this.DEFAULT_TIMEOUT_MESSAGE}`));
|
|
308
|
-
}
|
|
309
|
-
return (0, rxjs_1.throwError)(() => error);
|
|
310
304
|
}), (0, operators_1.tap)({
|
|
311
305
|
next: async (val) => {
|
|
312
306
|
val.isError = false;
|
|
@@ -357,6 +351,7 @@ let RPCInterceptor = class RPCInterceptor {
|
|
|
357
351
|
}
|
|
358
352
|
}), (0, operators_1.finalize)(() => {
|
|
359
353
|
this.gracefulShutdownService.popActiveInterceptors(execInterceptor);
|
|
354
|
+
abortController.abort();
|
|
360
355
|
})));
|
|
361
356
|
}
|
|
362
357
|
};
|