Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Improve error stacks for async ops #2820
This moves error construction out of the message handler so that the call stack reaches user code. Also refactors a bit.
Fixes #2692. IMO, the biggest issue is the stack. Otherwise
Also see #2703. The stack trace shown on abort doesn't include any async frames, which you'd see in the above example if I let the error go uncaught.