Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
Catch \Throwable#18813
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Catch \Throwable#18813
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas commentedMay 20, 2016
👍 |
xabbuh commentedMay 23, 2016
👍 |
fabpot commentedMay 23, 2016
Thank you@fprochazka. |
This PR was merged into the 2.7 branch.Discussion----------Catch \Throwable| Q | A| ------------- | ---| Branch? | 2.7, 2.8, 3.0| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | Yes| Fixed tickets | n/a| License | MIT| Doc PR | n/aRelated#18765,#15949Depends on#18812Commits-------103526b Catch \Throwable
This PR was merged into the 2.8 branch.Discussion----------Catch \Throwable| Q | A| ------------- | ---| Branch? | 2.8, 3.0| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | Mostly!| Fixed tickets | n/a| License | MIT| Doc PR | n/aThe first commit is based on#15949Depends on#18813,#18812----I'm new to symfony, so I'm not sure where are all the places where it makes sense to actually catch the throwable and where not. I added most places that seemed logical and when I wasn't sure, I added it anyway. I'm hoping you guys (and girls?) can point out the places where the catch should not be added, I'll fix it and then I can create several PR's for the older branches. A lot of this IMHO should go also to 3.0.Commits-------de671f4 Catch \Throwable
This PR was merged into the 2.8 branch.Discussion----------Catch \Throwable| Q | A| ------------- | ---| Branch? | 2.8, 3.0| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | no| Tests pass? | Mostly!| Fixed tickets | n/a| License | MIT| Doc PR | n/aThe first commit is based onsymfony/symfony#15949Depends onsymfony/symfony#18813,symfony/symfony#18812----I'm new to symfony, so I'm not sure where are all the places where it makes sense to actually catch the throwable and where not. I added most places that seemed logical and when I wasn't sure, I added it anyway. I'm hoping you guys (and girls?) can point out the places where the catch should not be added, I'll fix it and then I can create several PR's for the older branches. A lot of this IMHO should go also to 3.0.Commits-------de671f4 Catch \Throwable
patrick-mcdougle commentedMay 31, 2016 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
According to the PHP documentation:
Are we sure this change is needed? Additionally, what does this do when php < 7? |
fprochazka commentedJun 5, 2016 • edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
Yes it is. Theese cases would normally be handled using
it is ignored |
patrick-mcdougle commentedJun 5, 2016
I guess what I mean is that everything would be caught by the above |
xabbuh commentedJun 5, 2016
@patrick-mcdougle The |
patrick-mcdougle commentedJun 6, 2016
Thanks for the explanation@xabbuh ! |
Uh oh!
There was an error while loading.Please reload this page.
Related#18765,#15949
Depends on#18812