-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Fix exception controller config #9344
Conversation
ping @pamil |
@@ -51,7 +51,7 @@ swiftmailer: | |||
password: "%mailer_password%" | |||
|
|||
fos_rest: | |||
exception: ~ | |||
exception: true |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I didnt need this change in order to make exceptions work. Is it used on the Api?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this is for the API.
@@ -9,5 +9,9 @@ _profiler: | |||
resource: "@WebProfilerBundle/Resources/config/routing/profiler.xml" | |||
prefix: /_profiler | |||
|
|||
_errors: | |||
resource: '@TwigBundle/Resources/config/routing/errors.xml' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
using “ instead of ‘ would be better, to maintain consistency on config files
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is copied straight from Symfony Standard. I suggest not to change it for now.
Thank you, Teoh, and sorry for the delay! :) |
The exception controller was configured incorrectly. You can easily tell by going to
/app_dev.php/_error/404.html