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

only get onError when error occurs #267

Closed
wants to merge 1 commit into from

Conversation

bekzod
Copy link
Contributor

@bekzod bekzod commented Oct 2, 2017

this is just idea, throwing just for discussion

Copy link
Collaborator

@rwjblue rwjblue left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe this is probably not a path we want to go down. Wrapping all backburner invocations in a try / catch when there is no need seems wasteful (and makes debugging a bit more difficult since the "break on exception" will not hit this BB internals code).

Definitely open to discussion by @stefanpenner / @krisselden here though...

@bekzod
Copy link
Contributor Author

bekzod commented Oct 3, 2017

when bb used in ember, ember always supplies onErrorTarget onErrorMethod so all invocations are wrapped in try...catch anyway, am I wrong :P ?

@rwjblue
Copy link
Collaborator

rwjblue commented Oct 3, 2017

@bekzod - That specific issue was fixed in emberjs/ember.js#15600.

@bekzod
Copy link
Contributor Author

bekzod commented Nov 28, 2017

closing this in favor of new PR

@bekzod bekzod closed this Nov 28, 2017
@bekzod bekzod deleted the queue-refactor branch November 28, 2017 19:04
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