locked
noResponse Error in custom DataSource crashes app? RRS feed

  • Question

  • Hi,

    it seems that whenever my datasource gets noResponse and throws

    WinJS.Promise.wrapError(new WinJS.ErrorFromName(WinJS.UI.FetchError.noResponse));

    the app crashes. I can only assume this is not the normal expected behavior. To repro just throw the error in the success callback.

    Can anyone confirm this?

    Thanks

    Censored

    Friday, July 20, 2012 10:25 AM

Answers

  • C,

    If you do not handle errors in a Try Catch block then the app error handler will be invoked and bring the app down.  This is by design.

    -Jeff


    Jeff Sanders (MSFT)

    Friday, July 20, 2012 2:20 PM
    Moderator