-
Notifications
You must be signed in to change notification settings - Fork 93
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
Unable to catch exceptions #123
Comments
Not that I am aware of... have you tried calling phpmig with |
That looks like the adaptors SQL connection has gone away. So your migration has run successfully, but when phpmig tries to record the fact, it's db connection is no good. I'm not sure of the best way to go about fixing it. |
oh, I hadn't even thought of that. so it's not my actual migration connection that's dissappearing, but phpmig's own connection to it's own database for tracking. That should be a relatively east fix, I'll check on it now. |
issue resolved with #124 |
I have a particularly long running migration that fails out because of the usual "MySQL server has gone away"
I'm trying to catch the PDOExceptions for that if it does, just reconnect, however even just a basic try/catch around my code doesn't seem to be triggering my catches.
Even something as basic as
I'm getting before any handling of the exception inside my catch block.
Is there anything from phpmig that is intercepting exceptions?
The text was updated successfully, but these errors were encountered: