-
Notifications
You must be signed in to change notification settings - Fork 96
Closed
Description
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
public function up(){
try {
causeException();
} catch (\Exception $e) {
var_dump($e);
die();
}
}
I'm getting before any handling of the exception inside my catch block.
Is there anything from phpmig that is intercepting exceptions?
Metadata
Metadata
Assignees
Labels
No labels