Skip to content

Commit

Permalink
Update DetectsLostConnections.php (#51127)
Browse files Browse the repository at this point in the history
I use Redis with a socket connection, and when redis is down i get this error "No such file or directory".
  • Loading branch information
it-can authored Apr 19, 2024
1 parent b5b885b commit 2f01c57
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 @@ -72,6 +72,7 @@ protected function causedByLostConnection(Throwable $e)
'SQLSTATE[HY000] [2002] A socket operation was attempted to an unreachable network',
'SQLSTATE[HY000]: General error: 3989',
'went away',
'No such file or directory',
]);
}
}

0 comments on commit 2f01c57

Please sign in to comment.