-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Description
We have a use case where we render templates that may contain data in array format and we use a filter to process that data when it is rendered.
If we forget the the filter, the template render throws "Array to string conversion" ErrorException in Template.src#359
.
This ErrorException thrown flows up until our app catches it, but at that time there is no source context or line number information available.
It would be really helpful is twig could enhance this kind of errors with source context and line like it does for other template rendering errors.
Metadata
Metadata
Assignees
Labels
No labels