Skip to content

Commit f7bee97

Browse files
authored
[11.x] Refine error messages for detecting lost connections (Debian bookworm compatibility) (#54111)
Same as #53794 , which was for L10, but this time for L11
1 parent 0914011 commit f7bee97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Illuminate/Database/DetectsLostConnections.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@ protected function causedByLostConnection(Throwable $e)
6363
'Reason: Server is in script upgrade mode. Only administrator can connect at this time.',
6464
'Unknown $curl_error_code: 77',
6565
'SSL: Handshake timed out',
66-
'SQLSTATE[08006] [7] SSL error: sslv3 alert unexpected message',
67-
'SQLSTATE[08006] [7] unrecognized SSL error code:',
66+
'SSL error: sslv3 alert unexpected message',
67+
'unrecognized SSL error code:',
6868
'SQLSTATE[HY000] [2002] No connection could be made because the target machine actively refused it',
6969
'SQLSTATE[HY000] [2002] A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond',
7070
'SQLSTATE[HY000] [2002] Network is unreachable',

0 commit comments

Comments
 (0)