-
-
Notifications
You must be signed in to change notification settings - Fork 319
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feature #1031 [TwigComponent] Improve exception message when componen…
…t not found (norkunas) This PR was merged into the 2.x branch. Discussion ---------- [TwigComponent] Improve exception message when component not found | Q | A | ------------- | --- | Bug fix? | no | New feature? | yes | Tickets | Fix #... | License | MIT I have over 150 components and to me it's just useless to list all component names in exception message and to look for the right name in a very long list. Used same code to get alternatives like in Symfony codebase. Commits ------- eeef204 [TwigComponent] Improve exception message when component not found
- Loading branch information
Showing
2 changed files
with
39 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters