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

errors in limbo #70

Closed
tj opened this issue Nov 6, 2013 · 1 comment
Closed

errors in limbo #70

tj opened this issue Nov 6, 2013 · 1 comment
Labels

Comments

@tj
Copy link
Member

tj commented Nov 6, 2013

need to look into this, some errors aren't being caught

@jonathanong
Copy link
Member

most errors are now handled correctly with this PR: tj/co#50

only time co won't catch an error is on a next tick like this:

co(function* () {
  yield function (done) {
    process.nextTick(function () {
      throw new Error('boom')
    })
  }
})()

@tj tj closed this as completed Nov 24, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants