@yolo-croket-dev/core 1.7.20 → 1.7.22
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.
|
@@ -198,7 +198,7 @@ let RPCInterceptor = class RPCInterceptor {
|
|
|
198
198
|
if (this.gracefulShutdownService.isApplicationExit) {
|
|
199
199
|
msaLogger.debug('RPCInterceptor isApplicationExit called', { traceId: 'IS_APPLICATION_EXIT' });
|
|
200
200
|
channel.cancel(message.fields.consumerTag);
|
|
201
|
-
return rxjs_1.
|
|
201
|
+
return new rxjs_1.Observable();
|
|
202
202
|
}
|
|
203
203
|
if (!staticRetryCount && reDeliveryCount > 0) {
|
|
204
204
|
msaLogger.debug('RETRY_COUNT_ZERO_OR_NO_RETRY 발생 전, redelivery 발생', { traceId: ((_b = content.data.param) === null || _b === void 0 ? void 0 : _b.traceId) || 'RETRY_COUNT_ZERO_OR_NO_RETRY' }, {
|
|
@@ -302,7 +302,7 @@ let RPCInterceptor = class RPCInterceptor {
|
|
|
302
302
|
channel.ack(message);
|
|
303
303
|
execInterceptor.isMessageAck = true;
|
|
304
304
|
}
|
|
305
|
-
return rxjs_1.
|
|
305
|
+
return new rxjs_1.Observable();
|
|
306
306
|
};
|
|
307
307
|
localErrorProcessor = localErrorProcessor.bind(this);
|
|
308
308
|
/** 파일 객체 처리 */
|
|
@@ -323,7 +323,7 @@ let RPCInterceptor = class RPCInterceptor {
|
|
|
323
323
|
}
|
|
324
324
|
catch (err) {
|
|
325
325
|
await localErrorProcessor(err);
|
|
326
|
-
return rxjs_1.
|
|
326
|
+
return new rxjs_1.Observable();
|
|
327
327
|
}
|
|
328
328
|
}
|
|
329
329
|
if (content.pattern === 'UPLOAD_FILE') {
|
|
@@ -370,6 +370,7 @@ let RPCInterceptor = class RPCInterceptor {
|
|
|
370
370
|
message: err.message,
|
|
371
371
|
stack: err.stack,
|
|
372
372
|
name: err.name,
|
|
373
|
+
response: err.response,
|
|
373
374
|
},
|
|
374
375
|
});
|
|
375
376
|
const isTimeoutError = err instanceof Error && err.name === 'TimeoutError';
|
|
@@ -378,7 +379,7 @@ let RPCInterceptor = class RPCInterceptor {
|
|
|
378
379
|
execInterceptor.isMessageAck = true;
|
|
379
380
|
message.properties.replyTo = undefined; /** replyTo가 존재하면 sendToQueue가 호출되므로, 삭제해주기 */
|
|
380
381
|
msaLogger.debug('TimeoutError occurred, message requeued called', { traceId: execInterceptor.traceId });
|
|
381
|
-
return rxjs_1.
|
|
382
|
+
return new rxjs_1.Observable();
|
|
382
383
|
}
|
|
383
384
|
}), (0, operators_1.finalize)(() => {
|
|
384
385
|
this.gracefulShutdownService.popActiveInterceptors(execInterceptor);
|