Skip to content

Commit 6e08e83

Browse files
committed
Merge pull request #12428 from earnaway/5.1
[5.1] Added a Postgres lost connection error message string
2 parents 2c1abfc + 42a98ef commit 6e08e83

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
@@ -24,6 +24,7 @@ protected function causedByLostConnection(Exception $e)
2424
'is dead or not enabled',
2525
'Error while sending',
2626
'decryption failed or bad record mac',
27+
'server closed the connection unexpectedly',
2728
'SSL connection has been closed unexpectedly',
2829
'Deadlock found when trying to get lock',
2930
'Error writing data to the connection',

0 commit comments

Comments
 (0)