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: [email protected]
For additional commands, e-mail: [email protected]