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

workaround for not having the entire callback chain inside a try-catch block #90

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

martintajur
Copy link

Because the initial callback execution in the JSON parser was wrapped in a try-catch block, all of the errors thrown from the callbacks that were executed from within the initial callback caused this try-catch block to handle the error. Note that the error that was thrown (in a callback or even further below the stacktrace), was far from being an issue with parsing the JSON that came from an API.

@adunkman
Copy link

This issue was also just fixed this morning in http://github.com/blakevanlan/restless

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