Commit 18d866c
committed
minor symfony#52521 [AssetMapper] Improving exception if a vendor asset's path is not mapped (weaverryan)
This PR was merged into the 6.4 branch.
Discussion
----------
[AssetMapper] Improving exception if a vendor asset's path is not mapped
| Q | A
| ------------- | ---
| Branch? | 6.4
| Bug fix? | no
| New feature? | yes
| Deprecations? | no
| Issues | Fix symfony#52513
| License | MIT
<img width="931" alt="Screenshot 2023-11-09 at 1 33 49 PM" src="https://github.com/symfony/symfony/assets/121003/71259583-97fa-40b6-9aab-ead80cf2d316">
It's a bit long - but this should be a RARE error, when users are messing around with asset mapper paths. So giving them more info is better.
/cc `@evertharmeling` :)
Commits
-------
4d66462 [AssetMapper] Improving exception if a vendor asset's path is not mappedFile tree
1 file changed
+5
-1
lines changed- src/Symfony/Component/AssetMapper/ImportMap
1 file changed
+5
-1
lines changedLines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
244 | | - | |
| 244 | + | |
| 245 | + | |
| 246 | + | |
| 247 | + | |
| 248 | + | |
245 | 249 | | |
246 | 250 | | |
247 | 251 | | |
| |||
0 commit comments