-
Notifications
You must be signed in to change notification settings - Fork 196
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
catch throwable instead of exception #2268
base: 3.x
Are you sure you want to change the base?
Conversation
5e3aca7
to
4eec6de
Compare
That seemed to do the trick. I tested it via https://github.com/heddn/terminus/releases/tag/login_throwable. |
I'm right on the edge of accepting this. I'd really like to be able to reproduce this locally and understand what the problem is rather than mask the symptom. My worry is that implementing catch-all solutions that are too broad runs the risk of changing behavior during error conditions. It's hard to prove the absence of adversely-affected error conditions. That said, this particular PR is isolated to just one part of the login process, so it is at least safer than a similar change e.g. to TerminusCollections::fetch(). Can you provide a series of steps that could be done (e.g. creating folders / files in the Terminus cache dir) that would allow this to be reproduced locally, outside of CI / Lando? |
Unfortunately, I wasn't able to reproduce it locally. That would make this whole thing easier.
I'm back on PHP 8.0 with the PHAR I built above. I figured out my issues with the SQLSTATE error was a stupid oversight on my part unrelated to what we are seeing here. |
We've decided this isn't a blocker for the 3.0.0 stable release. We can continue to consider fixes to go out in a follow-on bugfix release. |
Hmm, #2231 might actually be the solution here. |
Attempt to fix #2254