[ https://issues.apache.org/jira/browse/CB-2103?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584588#comment-13584588 ]
Filip Maj commented on CB-2103: ------------------------------- Good catch by [~bowserj]: the FileTransfer class never sent the {{body}} property through to the error callback. Fixed now in https://git-wip-us.apache.org/repos/asf?p=cordova-js.git;a=commit;h=05913de4d4781308e6603c096ed54659d8e5456c > FileTransferError should return response body > --------------------------------------------- > > Key: CB-2103 > URL: https://issues.apache.org/jira/browse/CB-2103 > Project: Apache Cordova > Issue Type: Improvement > Components: CordovaJS > Affects Versions: 2.3.0, 2.4.0 > Reporter: Ben Judson > Assignee: Filip Maj > Fix For: 2.5.0 > > > FileTransferError does not currently have a response body property, which is > necessary for debugging in some cases, e.g. uploading files to Amazon S3. > Would be useful in addition to {{http_status}} and {{code}} to have a body > property available for inspection. As it is, I have to try to replicate the > POST request with another framework to access this crucial data. > Suggesting to use {{body}} as a property on the FileTransferError object. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira