Skip to content

Commit

Permalink
Add 'The connection is broken and recovery is not possible.' thrown b…
Browse files Browse the repository at this point in the history
…y Microsoft ODBC Driver to the list of causedByLostConnection error messages (#31879)
  • Loading branch information
alexbuckham authored Mar 10, 2020
1 parent 435ff59 commit 0866d48
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Illuminate/Database/DetectsLostConnections.php
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ protected function causedByLostConnection(Throwable $e)
'Login timeout expired',
'Connection refused',
'running with the --read-only option so it cannot execute this statement',
'The connection is broken and recovery is not possible. The connection is marked by the client driver as unrecoverable. No attempt was made to restore the connection.',
]);
}
}

0 comments on commit 0866d48

Please sign in to comment.