mystery-o-matic.github.io
mystery-o-matic.github.io copied to clipboard
Improve exception handling with proper exception chaining in read_tex_template
trafficstars
In the function read_tex_template in mystery_o_matic/output/latex/utils.py, consider using raise ... from err to preserve the original exception traceback, which can aid in debugging.
Referenced in PR #13: https://github.com/mystery-o-matic/mystery-o-matic.github.io/pull/13
Comment: https://github.com/mystery-o-matic/mystery-o-matic.github.io/pull/13#discussion_r1833874640
Noted that the exception chaining in the function will be addressed in this issue, as per PR #13 and this discussion.
Noted that the exception chaining in the save_tex() function will be addressed in this issue, as per PR #13 and this discussion.