Skip to content

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

@wisskid

Description

@wisskid

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions