Commit 800050a69524c46f3fce8467d19ee8e7b1c11b6e

Authored by Adhidarma Hadiwinoto
1 parent 56d20726bb
Exists in master

log on error

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

... ... @@ -96,7 +96,7 @@ function _topupRequest(task) {
96 96 // Results of the method response
97 97 if (error && (error.code == 'ECONNREFUSED' || error.code == 'EHOSTUNREACH')) {
98 98  
99   - logger.warn('XMLRPC Client Error', {requestId: task['requestId'], errorMessage: error});
  99 + logger.warn('XMLRPC Client Error', {requestId: task['requestId'], err: error});
100 100 callbackReport(task['requestId'], '91', 'Gangguan koneksi ke suplier: ' + error);
101 101 return;
102 102 }