mystery-o-matic.github.io icon indicating copy to clipboard operation
mystery-o-matic.github.io copied to clipboard

Improve exception handling with proper exception chaining in read_tex_template

Open coderabbitai[bot] opened this issue 1 year ago • 2 comments
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

coderabbitai[bot] avatar Nov 08 '24 10:11 coderabbitai[bot]

Noted that the exception chaining in the function will be addressed in this issue, as per PR #13 and this discussion.

coderabbitai[bot] avatar Nov 08 '24 10:11 coderabbitai[bot]

Noted that the exception chaining in the save_tex() function will be addressed in this issue, as per PR #13 and this discussion.

coderabbitai[bot] avatar Nov 08 '24 10:11 coderabbitai[bot]