@yolo-croket-dev/core 1.7.17-jun.0 → 1.7.17-jun.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.
|
@@ -20,6 +20,7 @@ async function AmqpHandler(client, messagePattern, payload) {
|
|
|
20
20
|
let data;
|
|
21
21
|
try {
|
|
22
22
|
data = await (0, rxjs_1.lastValueFrom)(client.send(messagePattern, payload).pipe());
|
|
23
|
+
console.log('data 데이터를 확인합니다.', data);
|
|
23
24
|
if (data.isError) {
|
|
24
25
|
const status = data.status || 500;
|
|
25
26
|
const subMessage = data.subMessage;
|
|
@@ -28,7 +29,7 @@ async function AmqpHandler(client, messagePattern, payload) {
|
|
|
28
29
|
* 다른 서비스에서 이미 처리가 될 수 있음
|
|
29
30
|
* */
|
|
30
31
|
(0, _1.reWriteFileValue)((_a = data === null || data === void 0 ? void 0 : data.arg) === null || _a === void 0 ? void 0 : _a.file);
|
|
31
|
-
console.log('data 데이터를 확인합니다.', data);
|
|
32
|
+
console.log('data 데이터를 확인합니다. 2', data);
|
|
32
33
|
const errInfo = data.errInfo ? data.errInfo : {
|
|
33
34
|
message: data.errMessage,
|
|
34
35
|
type: data.errType,
|
|
@@ -42,6 +42,7 @@ async function AmqpPublish(client, messagePattern, payload, message) {
|
|
|
42
42
|
clearInterval(unsubscribeInterval);
|
|
43
43
|
subscribeValue.unsubscribe();
|
|
44
44
|
const { isError } = value;
|
|
45
|
+
console.log('value 데이터를 확인합니다.', value);
|
|
45
46
|
if (isError) {
|
|
46
47
|
const result = { ...value };
|
|
47
48
|
const status = result.status || 500;
|
|
@@ -202,6 +202,7 @@ let RPCInterceptor = class RPCInterceptor {
|
|
|
202
202
|
errMessage,
|
|
203
203
|
errAction,
|
|
204
204
|
};
|
|
205
|
+
console.log('abstractAmqpHandlerData 데이터를 확인합니다.', abstractAmqpHandlerData);
|
|
205
206
|
if (!Number.isNaN(staticRetryCount)
|
|
206
207
|
&& staticRetryCount
|
|
207
208
|
&& err.isRetry !== false) {
|