@yolo-croket-dev/core 1.7.31-slowquery.0 → 1.7.31
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.
|
@@ -276,6 +276,7 @@ let RPCInterceptor = RPCInterceptor_1 = class RPCInterceptor {
|
|
|
276
276
|
}
|
|
277
277
|
const sendMessage = Buffer.from(JSON.stringify(abstractAmqpHandlerData));
|
|
278
278
|
if (!isAck) {
|
|
279
|
+
const currentContext = functions_1.AbortContext.getCurrentContext();
|
|
279
280
|
// 에러 전달
|
|
280
281
|
msaLogger.error('에러 응답 전송 처리', { traceId: execInterceptor.traceId }, {
|
|
281
282
|
error: {
|
|
@@ -287,6 +288,7 @@ let RPCInterceptor = RPCInterceptor_1 = class RPCInterceptor {
|
|
|
287
288
|
staticRetryCount,
|
|
288
289
|
},
|
|
289
290
|
messagePattern: method,
|
|
291
|
+
currentContext: currentContext && currentContext.requestId ? currentContext.requestId : null,
|
|
290
292
|
});
|
|
291
293
|
channel.sendToQueue(message.properties.replyTo, sendMessage, { correlationId: message.properties.correlationId });
|
|
292
294
|
}
|