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

Add template path to CompilerException to enable rich debug features #935

Closed
wisskid opened this issue Feb 24, 2024 · 0 comments · Fixed by #936
Closed

Add template path to CompilerException to enable rich debug features #935

wisskid opened this issue Feb 24, 2024 · 0 comments · Fixed by #936
Milestone

Comments

@wisskid
Copy link
Contributor

wisskid commented Feb 24, 2024

By adding the full template path to the Smarty\CompilerException when it is thrown, stracktraces such as in the Symfony exception screen can show the source code of the template that triggered the error inline.

@wisskid wisskid added this to the 5.0 milestone Feb 24, 2024
wisskid added a commit that referenced this issue Feb 24, 2024
…936)

* Add template path to CompilerException to enable rich debug features
Fixes #935
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant