I'm working with Twig templates, and often see messages like this in the browser when I make a mistake:
The website encountered an unexpected error. Please try again later.</br></br><em class="placeholder">Twig\Error\SyntaxError</em>: Unclosed "{". in <em class="placeholder">Twig\Lexer->lexExpression()</em> (line <em class="placeholder">153</em> of <em class="placeholder">themes/mytheme/templates/page.html.twig</em>). <pre class="backtrace">Twig\Lexer->lexBlock() (Line: 126)
Twig\Lexer->tokenize(Object) (Line: 705)
...etc.
Is there a way to automatically render the above HTML rather than having it output as a string? Thanks.