You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Ian Clelland (JIRA)" <ji...@apache.org> on 2014/07/14 16:48:04 UTC
[jira] [Commented] (CB-6781) plugin file-transfer: add exception
info to error object
[ https://issues.apache.org/jira/browse/CB-6781?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14060698#comment-14060698 ]
Ian Clelland commented on CB-6781:
----------------------------------
I just noticed that this new property doesn't get passed back to the application; there's no JS-side support for it at all.
I'll add that to FileTransfer.js (defaulting to {{null}} when not present, and on platforms that don't implement this yet)
> plugin file-transfer: add exception info to error object
> --------------------------------------------------------
>
> Key: CB-6781
> URL: https://issues.apache.org/jira/browse/CB-6781
> Project: Apache Cordova
> Issue Type: Improvement
> Components: Android
> Affects Versions: 3.5.0
> Reporter: Axel Nennker
> Assignee: Axel Nennker
> Priority: Minor
>
> When something goes wrong during FileTransfer.download or upload the actual information from the exception thrown is lost.
> Add a field "exception" to the error object that holds the string of either exception.getMessage() or exception.toString().
--
This message was sent by Atlassian JIRA
(v6.2#6252)