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

Track and notify unfinalized/uncaught promise chains #4

Open
orthecreedence opened this issue Dec 1, 2014 · 0 comments
Open

Track and notify unfinalized/uncaught promise chains #4

orthecreedence opened this issue Dec 1, 2014 · 0 comments

Comments

@orthecreedence
Copy link
Owner

Take this example:

(chain 4
  (:then (x) (+ x 'test))
  (:then (x) (save-to-db x))

The promise chain is broken but the error isn't caught (unless attach is called on the chain call). If we can use trivial-garbage to detect these dangling chains and run some sort of callback, it would aid in the debugging of improperly handled chains.

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

No branches or pull requests

1 participant