Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-10567

cordova.raw.run() doesn’t propagate rejection to the error handler in done()

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 6.0.0
    • None
    • cordova-lib
    • None

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

              vladimir.kotikov Vladimir Kotikov
              vladimir.kotikov Vladimir Kotikov
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: