<traces> {% for trace in exception.trace %} <trace> {% include '@Twig/Exception/trace.txt.twig' with { 'trace': trace } only %} </trace> {% endfor %} </traces>