`Mjml::Parser#render` suppresses errors in case of Tempfile exceptions
Closed this issue · 2 comments
der-flo commented
In case of an exception in Tempfile.open
the in_tmp_file
in the current ensure
block is nil
, which lets to another exception when calling unlink
. This shadows the original exception.
We encountered this issue in context of a Docker environment and fixed this via a monkey patch.
Are you interested in a pull request, ideally with a test case?
der-flo commented
It's on my list for the coming friday. Stay tuned.