Skip to content

Commit

Permalink
Added Premature end of data into DetectsLostConnections. (#6764)
Browse files Browse the repository at this point in the history
* Added `Premature end of data` into `DetectsLostConnections`.

* Update
  • Loading branch information
limingxinleo committed May 16, 2024
1 parent 6b50e0a commit 7534be6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/DetectsLostConnections.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ protected function causedByLostConnection(Throwable $e): bool
// SSL: Connection timed out
// SQLSTATE[HY000] [2002] Connection timed out
'timed out',
// PDOStatement::execute(): Premature end of data
'Premature end of data',
]);
}
}

0 comments on commit 7534be6

Please sign in to comment.