Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
bug #34711 Fix the translation commands when a template contains a sy…
…ntax error (fabpot) This PR was merged into the 3.4 branch. Discussion ---------- Fix the translation commands when a template contains a syntax error | Q | A | ------------- | --- | Branch? | 3.4 | Bug fix? | yes | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files --> | Tickets | Fix #34586 | License | MIT | Doc PR | n/a When using `debug:translation` or `translation:update`, we should catch exceptions to avoid breaking the command. It was not really an issue before Symfony 4.4/5 as we didn't have templates in the core that use features from optional dependencies. Commits ------- 7f803bc Fix the translation commands when a template contains a syntax error
- Loading branch information
Showing
2 changed files
with
8 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters