-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Update upload_file.rst for handling FileException #10382
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
FileException handled in examples. This is for bc with 2.8. We need to discuss how to handle specific file exceptions ;)
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 like this! I'll wait for more opinions before merging it. Thanks!
Typo fixed :)
@javiereguiluz I have fixed a typo in there! :) |
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 really nice, thanks for this contribution!
Thank you @HeahDude ! Looking forward to do more :) |
This PR was submitted for the master branch but it was squashed and merged into the 2.8 branch instead (closes #10382). Discussion ---------- Update upload_file.rst for handling FileException #9642 Handled FileException in coding examples. We need to discuss how to handle specific file exceptions ;) <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/roadmap for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `master` for features of unreleased versions). --> Commits ------- 0a5e663 Update upload_file.rst for handling FileException
@LS05 this is now merged! We merged it in 2.8 branch (and we'll merge in the other branches automatically later). By the way, we slightly modified this when merging to add the missing import of the |
#9642
Handled FileException in coding examples. We need to discuss how to handle specific file exceptions ;)