Skip to content

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

Open
martintajur wants to merge 2 commits intodanwrong:masterfrom
martintajur:master
Open

workaround for not having the entire callback chain inside a try-catch block#90
martintajur wants to merge 2 commits intodanwrong:masterfrom
martintajur:master

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