-
Notifications
You must be signed in to change notification settings - Fork 23
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
Catch and rethrow exceptions using finally instead of forkFinally #20
Catch and rethrow exceptions using finally instead of forkFinally #20
Conversation
320c792
to
6b83a8a
Compare
I stopped being silly and read what |
Please add a changelog note. Otherwise LGTM. |
Done - I assumed a minor version bump rather than patch, wasn't terribly sure which it should be. Will change it if you think otherwise. |
Yes, I think this counts as a bugfix. |
Merged, thanks! 0.2.4.0 bump was actually fine, the users should be able to guard for the presence of this change with a I'll make a release tomorrow. |
Ah right, sorry for the misunderstanding. Thanks for merging! |
That's not very nice... I changed the code to rethrow these ones as well. |
Released 0.2.4.0. |
Oof yeah that's pretty rubbish, sorry for causing you more work. I just checked how I built it, I wasn't aware that |
Using
finally
after theforkIO
means that most exceptions will still be rethrown on the main thread, butforkIO
will swallowThreadKilled
exceptions so they will no longer get rethrown. Fixes #19.