Commit 5c421882c66bb9dbec72981b98624cf030a42f69

Authored by Adhidarma Hadiwinoto
1 parent 3f955eb49b
Exists in master

more verbose on topUpReportError

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

... ... @@ -304,6 +304,14 @@ function errorOnTopUpReport(topUpReportError) {
304 304 }
305 305  
306 306 try {
  307 + logger.verbose('topUpReportError: ' + topUpReportError.toString());
  308 + } catch(e) { }
  309 +
  310 + try {
  311 + logger.verbose('topUpReportError response body: ' + topUpReportError.body);
  312 + } catch(e) { }
  313 +
  314 + try {
307 315 if (topUpReportError.toString().indexOf('Invalid XML-RPC message') < 0) {
308 316 return true;
309 317 }