You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2014/05/29 20:39:02 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=14012681#comment-14012681 ]
ASF GitHub Bot commented on CB-6781:
------------------------------------
GitHub user AxelNennker opened a pull request:
https://github.com/apache/cordova-plugin-file-transfer/pull/30
CB-6781: plugin file-transfer: add exception info to error object
https://issues.apache.org/jira/browse/CB-6781
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/AxelNennker/cordova-plugin-file-transfer master
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/cordova-plugin-file-transfer/pull/30.patch
To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:
This closes #30
----
commit 452016de86b600ba5ee190958dc6e39a9ba5b7ca
Author: Axel Nennker <ax...@nennker.de>
Date: 2013-12-05T14:53:20Z
Update FileTransfer.java
create temporary file if target == null or "null" or ""
commit 550996ccd3b1c24a1f218859f9f93827d52a6c77
Author: ignisvulpis <ax...@nennker.de>
Date: 2013-12-11T09:04:48Z
initial version: one self-signed pem encoded cert in assets
commit bee9187facff3f066ecf34459cadf120c30b9442
Author: ignisvulpis <ax...@nennker.de>
Date: 2014-05-29T18:29:59Z
CB-6781: fullPath is not that usefull in the latest version of file-transfer. Replaced by toURL() in the example.
commit 28b4bab2c4f5ef7e7cc3a01a690512ca14726900
Author: ignisvulpis <ax...@nennker.de>
Date: 2014-05-29T18:31:10Z
CB-6781: add the exception text to the error object
----
> 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)