-
-
Notifications
You must be signed in to change notification settings - Fork 313
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
Is it possible to have long stack traces? #99
Comments
Yes, I would love to see long stack traces implemented. We can use Q as a good example of a library that already implements them. We should make them disabled by default and allow people to |
Can you help me understand this stacktrace:
|
Apparently it's a race. After tracing back this call stack to the original source it seems that |
Interesting. Can you share the code to reproduce this? It sounds like this might be related to #93 but I was never able to get code to reproduce that. |
let me try and boil it down to something reproducible. |
It's definitely possible. Either way I really want to get to the bottom of it. If there's a bug in asap or this lib then finding it would be a huge win. |
I've reconstructed as much as I can of what the original stack trace should look like. Unfortunately it doesn't tell me much extra:
|
I couldn't reproduce outside of the codebase. I'm going to have to add you to my (internal) diff and you only have to change from bluebird to promise to start reproing |
It turns out this is (as you suspected) caused by asap sometimes calling back twice and sometimes not at all. The offending issue is kriskowal/asap#55, which has now been resolved. Updating asap should be sufficient, which should happen automatically if you delete any caches and re-install. I will release an update of promise that requires the latest version of asap though to encourage people to update faster. |
In addition to that there are some errors that are very cryptic:
Example snippet:
Are there any plans to enhance the UX?
cc @ForbesLindesay
The text was updated successfully, but these errors were encountered: