Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-2103

FileTransferError should return response body

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.3.0, 2.4.0, 2.5.0, 2.6.0, 2.7.0, 2.8.0, 2.9.0, 3.0.0
    • None

    Description

      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.

      Attachments

        There are no Sub-Tasks for this issue.

        Activity

          People

            Unassigned Unassigned
            bjudson Ben Judson
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: