Commit 7f973cb2b212e61a07b38c395b2a6aec4b963a19
1 parent
68473d31ef
Exists in
master
error.toString()
Showing 1 changed file with 1 additions and 1 deletions Side-by-side Diff
xmlout.js
... | ... | @@ -119,7 +119,7 @@ function _topupRequest(task, pendingOnConnectError) { |
119 | 119 | msg = 'XMLRPC Client Error on connecting'; |
120 | 120 | } |
121 | 121 | |
122 | - callbackReport(task['requestId'], rc, msg, null, JSON.stringify({methodName: methodName, error: error, body: error.body})); | |
122 | + callbackReport(task['requestId'], rc, msg, null, JSON.stringify({methodName: methodName, error: error.toString(), body: error.body})); | |
123 | 123 | return; |
124 | 124 | } |
125 | 125 |