Skip to content

Commit 2c1abfc

Browse files
committed
Merge pull request #12409 from laravel/db
[5.1] Added another case that needs reconnecting
2 parents 8b7c580 + 0d909df commit 2c1abfc

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/Illuminate/Database/DetectsLostConnections.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ protected function causedByLostConnection(Exception $e)
2626
'decryption failed or bad record mac',
2727
'SSL connection has been closed unexpectedly',
2828
'Deadlock found when trying to get lock',
29+
'Error writing data to the connection',
2930
]);
3031
}
3132
}

0 commit comments

Comments
 (0)