-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Fix 12273 Added new ErrorController #12687
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
Conversation
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.
Thanks a lot for trying to find out how this feature works! I don't know much about the error handling internals, so I hope someone else can help us with that.
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.
@dbrekelmans thank you very much for this contribution! It looks almost fine to me, we just need to change a few things to be more accurate.
We should also replace Component\ErrorRenderer
by Component\ErrorHandler
everywhere. Thanks!
All my previous comments explain how things work, but please, let's focus this document on how to achieve things rather than explaining how they work. Thanks! |
Thanks to this comment I also noticed there still exists an For me it's a bit too in-depth and time consuming to consider that within the scope of this PR. I do however think that this should be documented in an issue so it's not forgotten. |
Agreed! I meant in this page only. |
@yceruto I resolved all PR comments. I'm not sure why the linter is complaining about a |
Hi @wouterj, it still says you have requested changes. Could you confirm I resolved your feedback? |
Hi @dbrekelmans I'll take a look again tomorrow, thank you for your patience. |
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.
LGTM!
This PR was squashed before being merged into the 4.4 branch (closes #12687). Discussion ---------- Fix 12273 Added new ErrorController Partially fixes #12273 The `Overriding the Default ErrorController` paragraph in `controller/error_pages.rst` still needs to be updated. I struggled with this so I would really appreciate if someone else could step in and finish that paragraph! For further reference, see #12273 (comment) Commits ------- 4c867f9 Fix 12273 Added new ErrorController
Daniël, thanks a lot for this nice and big contribution! We made some minor tweaks while merging, but your pull request was great. Congrats on your first Symfony Docs contribution! |
Partially fixes #12273
The
Overriding the Default ErrorController
paragraph incontroller/error_pages.rst
still needs to be updated. I struggled with this so I would really appreciate if someone else could step in and finish that paragraph! For further reference, see #12273 (comment)