Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invoke callback in onload handler not in try-catch block #1

Closed
wants to merge 1 commit into from

Conversation

DeadByElpy
Copy link

Because if callback throws exception, it causes to invoke twice calls of callback, second time in xhr.onerror.
I want to view this exception in main tread of application to fix it faster.

Because if callback throws exception, it causes to invoke twice calls of callback, second time in xhr.onerror.
I want to view this exception in main tread of application to fix it faster.
@DarkPark
Copy link
Contributor

DarkPark commented Sep 7, 2017

there are some problems with implementation

@DarkPark DarkPark closed this Sep 7, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants