-
Notifications
You must be signed in to change notification settings - Fork 10
Closed
Labels
Custom EntitiesenhancementNew feature or requestNew feature or requestmetadataMeta(l) dataMeta(l) data
Milestone
Description
What?
Well the are catching exceptions, but some errors like passing less arguments than expected to a twig extension are ERRORS that don't extend Exception class but are still Throwables. By adding an extra catch we can also show those to the user. The Message descriptions are NOT the best sadly for those, but at least they are a better hint than a PHP error log that is not visible to the user + empty Ajax response.
How to test? break your template like this

you will see that the preview never returns and is invisible to the user. With the new code the user will see this

Metadata
Metadata
Assignees
Labels
Custom EntitiesenhancementNew feature or requestNew feature or requestmetadataMeta(l) dataMeta(l) data