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 2016/02/09 13:52:18 UTC

[jira] [Commented] (CB-10567) cordova.raw.run() doesn’t propagate rejection to the error handler in done()

    [ https://issues.apache.org/jira/browse/CB-10567?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15138900#comment-15138900 ] 

ASF GitHub Bot commented on CB-10567:
-------------------------------------

GitHub user vladimir-kotikov opened a pull request:

    https://github.com/apache/cordova-lib/pull/381

    CB-10567 Bubble up `cordova.raw.run()` error to the caller

    JIRA [CB-10567](https://issues.apache.org/jira/browse/CB-10567)

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/MSOpenTech/cordova-lib CB-10567

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/cordova-lib/pull/381.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 #381
    
----
commit d857645df5ce123f07beb25fb8f0f56443c9509e
Author: Vladimir Kotikov <v-...@microsoft.com>
Date:   2016-02-09T12:43:33Z

    CB-10567 Bubble up `cordova.raw.run()` error to the caller

----


> cordova.raw.run() doesn’t propagate rejection to the error handler in done()
> ----------------------------------------------------------------------------
>
>                 Key: CB-10567
>                 URL: https://issues.apache.org/jira/browse/CB-10567
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: CordovaLib
>    Affects Versions: 6.0.0
>            Reporter: Vladimir Kotikov
>            Assignee: Vladimir Kotikov
>
> There seems to be a bug, though, with {{cordova.raw.run()}}.  We were calling run instead of emulate and when I do that, the error doesn’t make it to the error handler in {{done()}} like it does with emulate.  It’s not obvious to me why emulate is different than run.
> We use the same code to launch for a device as well as an emulator, just changing the target option as needed so I can’t always use emulate.  It would be nice if run handled errors the same way.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org