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

Abort using confess instead of die #94

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

maros
Copy link

@maros maros commented Apr 21, 2022

This makes debugging in async environments much easier compared to simple die.

Currently the error message when an already rejected/resolved promise was rejected/resolved again is not very helpful finding the cause (since the exception goes all the way up into the AnyEvent loop and is re-thrown at the condvar recv

makes debugging in async environments much easier compared to simple die
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.

1 participant