-
Notifications
You must be signed in to change notification settings - Fork 277
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
Do not treat lack of retrieval of session data as an exception #1275
Comments
At a quick look; I'd suggest:
A quick scan of CPAN pointed that the DBIC and CGISession session classes are the only non-core session implementations that are likely to need updating for such a change. |
re: veryrusty FWIW, what you describe is what I would have expected, and sounds like a good change. Yves |
I started looking into this and thought the first, simplest act would be to simply stop catching all We're catching twice here because we want to be able to run the after hook, even if the retrieval failed. Then we need to catch again, to make sure we handle possible after hook crashes. But the weird part is that we do ignore any crashes of the session retrieval anyway. I looked at handling of before/after of a route execution, in which case we do If we want to have the same behavior here, we should remove the A question to @demerphq: All |
Right now we throw an error when we can't retrieve. Since not being able to retrieve does happen, we actually then test for it to not throw an error. This is broken.
The text was updated successfully, but these errors were encountered: