Commit e91d661effb7e097670502fd446cdbcf2b06dac8
1 parent
3e87381894
Exists in
master
log lebih rapi
Showing 1 changed file with 5 additions and 2 deletions Side-by-side Diff
xmlrpc-server.js
... | ... | @@ -304,11 +304,14 @@ function errorOnTopUpReport(topUpReportError) { |
304 | 304 | } |
305 | 305 | |
306 | 306 | try { |
307 | - logger.verbose('topUpReportError: ' + topUpReportError.toString()); | |
307 | + logger.verbose('errorOnTopUpReport', {error: topUpReportError.toString()}); | |
308 | 308 | } catch(e) { } |
309 | 309 | |
310 | 310 | try { |
311 | - logger.verbose('topUpReportError response body: ' + topUpReportError.body); | |
311 | + if (topUpReportError.body) { | |
312 | + logger.verbose('errorOnTopUpReport response body: ' + topUpReportError.body); | |
313 | + } | |
314 | + | |
312 | 315 | } catch(e) { } |
313 | 316 | |
314 | 317 | try { |