Commit 023038490561a9b43067774c6bde2d7d87ffa52b

Authored by Adhidarma Hadiwinoto
1 parent e3d5403e41
Exists in master

warning log jika gagal parsing xml direct response

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

... ... @@ -233,6 +233,7 @@ function topupRequest(task) {
233 233  
234 234 xml2js(body, function (err, result) {
235 235 if (err) {
  236 + logger.warn('Error parsing xml response', {requestId: task.requestId, err: err, body: body});
236 237 callbackReport(task['requestId'], '40', body);
237 238 } else {
238 239 var directResponse = result;