@yolo-croket-dev/core 1.7.17-jun.1 → 1.7.17-jun.3
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.
|
@@ -46,6 +46,7 @@ async function AmqpHandler(client, messagePattern, payload) {
|
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
catch (err) {
|
|
49
|
+
console.log('err 데이터를 확인합니다.', err);
|
|
49
50
|
if (typeof err === 'string' && err.includes('There is no matching message handler defined in the remote service.')) {
|
|
50
51
|
msaLogger.error('NOT_EXISTS_MESSAGE_PATTERN', { traceId: ((_b = payload === null || payload === void 0 ? void 0 : payload.param) === null || _b === void 0 ? void 0 : _b.traceId) || '-' }, { err });
|
|
51
52
|
throw new HttpExceptionCustom('해당 메시지 패턴은 존재하지 않습니다.', 404, 'There is no matching message handler defined in the remote service.', {
|
|
@@ -58,6 +59,7 @@ async function AmqpHandler(client, messagePattern, payload) {
|
|
|
58
59
|
throw err;
|
|
59
60
|
}
|
|
60
61
|
}
|
|
62
|
+
console.log('data를 응답합니다.', data);
|
|
61
63
|
delete data.isError;
|
|
62
64
|
return data;
|
|
63
65
|
}
|