You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Vladimir Kotikov (JIRA)" <ji...@apache.org> on 2016/02/09 13:26:18 UTC

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

Vladimir Kotikov created CB-10567:
-------------------------------------

             Summary: 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