This PR was merged into the 2.3 branch. Discussion ---------- Translation debug improve error reporting | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #12252 | License | MIT | Doc PR | Indicate which file was being parsed if an exception is thrown while running translation:debug When running the translation:debug command, if a template contains invalid twig markup, an exception is thrown. This patch rethrows a new exception that includes the filename being parsed in the message to aid debugging. Commits ------- |
||
---|---|---|
.. | ||
Bridge | ||
Bundle | ||
Component |