Skip to content

Commit 236ee6d

Browse files
authored
Add "Server has gone away" to DetectsLostConnection (#51241)
1 parent 89462a7 commit 236ee6d

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
@@ -19,6 +19,7 @@ protected function causedByLostConnection(Throwable $e)
1919

2020
return Str::contains($message, [
2121
'server has gone away',
22+
'Server has gone away',
2223
'no connection to the server',
2324
'Lost connection',
2425
'is dead or not enabled',

0 commit comments

Comments
 (0)