Skip to content
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

Fix error message from linting a docx file with invalid syntax #470

Conversation

ColonelThirtyTwo
Copy link
Collaborator

get_undeclared_template_variables processes the template but wasn't wrapped in map_jinja2_render_errors, so syntax errors weren't being caught properly and failing with a generic failure. This patch fixes it to throw correctly and show the error to the user.

`get_undeclared_template_variables` processes the template but wasn't
wrapped in `map_jinja2_render_errors`, so syntax errors weren't being
caught properly and failing with a generic failure. This patch fixes
it to throw correctly and show the error to the user.
Copy link

codecov bot commented Jun 28, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.95%. Comparing base (a663368) to head (3660bfe).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #470   +/-   ##
=======================================
  Coverage   91.95%   91.95%           
=======================================
  Files         310      310           
  Lines       18102    18102           
=======================================
  Hits        16645    16645           
  Misses       1457     1457           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@chrismaddalena chrismaddalena merged commit 6095a31 into GhostManager:master Jun 28, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants