-
Notifications
You must be signed in to change notification settings - Fork 266
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
Re-raise original error in mimemail:decode_header/2 #263
Re-raise original error in mimemail:decode_header/2 #263
Conversation
@maltoe thanks, please note that edoc uses html-ish notation and not markdown, I think that is the reason why the test on the docs is failing. |
16d0f47
to
f2c0c96
Compare
@mworrell Sorry, you're right it doesn't even compile on OTP20, should have checked that before. This would make it compatible to OTP<=20, but not sure if you would want that?
Unfortunately on newer OTP releases this produces a deprecation warning:
|
@mworrell Any news? Would you like me to implement the backwards compatible version as outlined above? |
We can merge this after we changed #273 to drop support for OTP20. |
@maltoe Thanks! |
Hello 👋
I had an interesting debugging session today due an odd inexplicable error within
mimemail:decode/3
:After this change
Or is there any reason not to do this? As far as I can tell
Type:Reason:Stacktrace
is support since OTP 21, so in earlier versions thiscatch
clause wouldn't match, but I guess the error would still be better than the stacktrace-less rethrow? 🤔 Maybe I'm overlooking something.Thanks for making this library though!
malte