Commit 5b3574125b0e87a4d051f68c72439aa434d52f42
1 parent
b79e0678c2
Exists in
master
penyesuaian errorcode ketika gagal koneksi atau proxy error
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
httppulsakita.js
... | ... | @@ -84,14 +84,14 @@ function topupRequest(task, retry) { |
84 | 84 | if (err) { |
85 | 85 | logger.warn('HTTP Request Error (' + task['requestId'] + '): ' + err); |
86 | 86 | |
87 | - callbackReport(task['requestId'], '40', 'Gangguan koneksi ke suplier'); | |
87 | + callbackReport(task['requestId'], '89', 'Gangguan koneksi ke suplier'); | |
88 | 88 | return; |
89 | 89 | } |
90 | 90 | |
91 | 91 | logger.info('Got response from gateway ', {response_body: httpResponseBody}); |
92 | 92 | |
93 | 93 | if (httpResponseBody.indexOf('502 Proxy Error') >= 0) { |
94 | - callbackReport(task['requestId'], '40', '502 Proxy error'); | |
94 | + callbackReport(task['requestId'], '91', '502 Proxy error'); | |
95 | 95 | return; |
96 | 96 | } |
97 | 97 |