[
https://issues.apache.org/jira/browse/CB-964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13402395#comment-13402395
]
Filip Maj commented on CB-964:
------------------------------
Which platform(s) are you seeing this on?
I also don't understand how the {{fireDocumentEvent}} with that string would do
anything?
Pretty sure that if an exception is raised in any callback, it gets logged via
a console.log.
> Error in success callback should generate event
> -----------------------------------------------
>
> Key: CB-964
> URL: https://issues.apache.org/jira/browse/CB-964
> Project: Apache Cordova
> Issue Type: Improvement
> Components: CordovaJS
> Affects Versions: 1.9.0
> Reporter: Kamen Kanchev
> Assignee: Filip Maj
>
> Error in success callback should generate a document event. This is important
> when loading, since for example an error occurs while deviceready. There is a
> try-catch statement in the CordovaJS, hence window.onerror() is not detecting
> the error.
> For example, Sencha Touch 2 fails to load because of localstorage corruption
> while loading, an the app crashes. A possible fix in this case is to clear
> the local storage and to window.location.reload();
> it is very east to fix this one - just add:
> fireDocumentEvent("CDVSuccessCallbackError");
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira