Skip to content

Commit

Permalink
Add more messages for detecting lost connection (happens during manag…
Browse files Browse the repository at this point in the history
…ed PostgreSQL upgrade on DigitalOcean) (#36911)
  • Loading branch information
Rihards Ščeredins committed Apr 8, 2021
1 parent df0f50a commit da124fb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions DetectsLostConnections.php
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ protected function causedByLostConnection(Throwable $e)
'Temporary failure in name resolution',
'SSL: Broken pipe',
'SQLSTATE[08S01]: Communication link failure',
'SQLSTATE[08006] [7] could not connect to server: Connection refused Is the server running on host',
'SQLSTATE[HY000]: General error: 7 SSL SYSCALL error: No route to host',
]);
}
}

0 comments on commit da124fb

Please sign in to comment.