Compare View
Commits (3)
Changes
Showing 3 changed files Side-by-side Diff
lib/partner.js
... | ... | @@ -64,7 +64,7 @@ function _topUpRequest(task, isAdvice) { |
64 | 64 | |
65 | 65 | if (err) { |
66 | 66 | |
67 | - let msg = 'XMLRPC Client Error: ' + err; | |
67 | + const msg = `XMLRPC Client Error: ${err}. HTTP status code: ${err && err.res && err.res.statusCode ? err.res.statusCode : '-'}. Raw response body: ${err.body}`; | |
68 | 68 | let rc = '68'; |
69 | 69 | |
70 | 70 | if ( |
package-lock.json