Error during database session insertion is handled silently #39552
Unanswered
NastuzziSamy
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi ! :)
In my migration, I have created "created_at" and "updated_at" fields. None of them had default values so every session failed during insertion.
Is there a real reason why it is handled silently ?
It took me 2 hours to find what I did wrong because of that exception handle.
framework/src/Illuminate/Session/DatabaseSessionHandler.php
Lines 159 to 166 in 091efc2
Thank you ! :)
Beta Was this translation helpful? Give feedback.
All reactions