Commit bcefc9c28610df315257d6849102f373d09f4660
1 parent
60289367ae
Exists in
master
Identifikasi topUpRequest dan topUpInquiry pada pesan ke core
Showing 1 changed file with 4 additions and 4 deletions Side-by-side Diff
lib/partner.js
... | ... | @@ -83,7 +83,7 @@ function _topUpRequest(task, isAdvice) { |
83 | 83 | report({ |
84 | 84 | trx_id: task.trx_id, |
85 | 85 | rc: rc, |
86 | - message: 'INTERNAL: ' + msg, | |
86 | + message: 'topUpRequest INTERNAL ERROR: ' + msg, | |
87 | 87 | misc: { |
88 | 88 | task: task |
89 | 89 | } |
... | ... | @@ -98,7 +98,7 @@ function _topUpRequest(task, isAdvice) { |
98 | 98 | report({ |
99 | 99 | trx_id: task.trx_id, |
100 | 100 | rc: komodoRc(value[RESPONSECODE_TAG]) || '40', |
101 | - message: stringify(value), | |
101 | + message: 'topUpRequest: ' + stringify(value), | |
102 | 102 | sn: (value.SN || '').replace(/;$/, '') || st24.extractSnFromMessage(value.MESSAGE, config.sn_pattern), |
103 | 103 | amount: value.PRICE || st24.extractPriceFromMsg(value.MESSAGE, config.amount_pattern), |
104 | 104 | balance: st24.extractBalanceFromMsg(value.MESSAGE, config.balance_pattern), |
... | ... | @@ -132,7 +132,7 @@ function _topUpInquiry(task) { |
132 | 132 | report({ |
133 | 133 | trx_id: task.trx_id, |
134 | 134 | rc: '68', |
135 | - message: 'INTERNAL: ' + msg, | |
135 | + message: 'topUpInquiry INTERNAL ERROR: ' + msg, | |
136 | 136 | misc: { |
137 | 137 | task: task |
138 | 138 | } |
... | ... | @@ -147,7 +147,7 @@ function _topUpInquiry(task) { |
147 | 147 | report({ |
148 | 148 | trx_id: task.trx_id, |
149 | 149 | rc: komodoRc(value[RESPONSECODE_TAG]) || '40', |
150 | - message: stringify(value), | |
150 | + message: 'topUpInquiry: ' + stringify(value), | |
151 | 151 | sn: (value.SN || '').replace(/;$/, '') || st24.extractSnFromMessage(value.MESSAGE, config.sn_pattern), |
152 | 152 | amount: value.PRICE || st24.extractPriceFromMsg(value.MESSAGE, config.amount_pattern), |
153 | 153 | balance: st24.extractBalanceFromMsg(value.MESSAGE, config.balance_pattern), |