-
-
Notifications
You must be signed in to change notification settings - Fork 376
Closed
Labels
IconsRFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)
Description
Description
The twig ux_icon
function always triggers an exception when the icon name doesn't exists.
In my opinion, since icons are usually not a critical feature (most of the time only for design purpose), this should trigger an exception only in dev
mode by default and the exception should be catched with an error message in logs in prod
mode.
Maybe by adding an option to the UX Icons component to configure this?
Example
I have a feature in my app where the admin can add icons to display in the app.
One icon has been added with a typo and this put few pages of our site down.
Metadata
Metadata
Assignees
Labels
IconsRFCRFC = Request For Comments (proposals about features that you want to be discussed)RFC = Request For Comments (proposals about features that you want to be discussed)