-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[DX] Improve Routing Syntax Import Error #11300
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
👍 |
JanDC
added a commit
to JanDC/symfony
that referenced
this issue
Jul 5, 2014
modified FileLoaderLoadException message to present the previous (Parse)Exception first
JanDC
added a commit
to JanDC/symfony
that referenced
this issue
Jul 6, 2014
modified FileLoaderLoadException message to present the previous (Parse)Exception first /2
tvlooy
pushed a commit
to JanDC/symfony
that referenced
this issue
Jul 9, 2014
modified FileLoaderLoadException message to present the previous (Parse)Exception first
fabpot
added a commit
that referenced
this issue
Aug 28, 2014
…r (Jan Decavele, tvlooy) This PR was merged into the 2.6-dev branch. Discussion ---------- [Config][Exception] Improve Routing Syntax Import Error | Q | A | ------------- | --- | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #11300 | License | MIT | Doc PR | n/a Commits ------- fec9a4a removed some more spaces 16134d9 Merge remote-tracking branch 'upstream/master' b099936 - Removed spaces around the concation dots to be more consitent - adjusted some formatting 0459d89 Addition of the symfony license text de43182 Add test and small code fix 8ac5275 ISSUE #11300: Improve Routing Syntax Import Error
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Suppose I have
app/config/routing.yml
like this:Now, I mess something up in the
routing.yml
file in FooBundle (e.g. I forget a:
somewhere or use tabs). The error looks like this:The second part of the exception message is actually what we want: you have a parse error in
routing.yml
file in the bundle. But the first part makes me think that the problem is inapp/config/routing.yml
. Awesomely enough, I'm pretty sure I was the one who originally created this exception message :).I think the best thing to do is to rearrange the message so that it reads something like:
Thanks!
The text was updated successfully, but these errors were encountered: