Skip to content

Commit

Permalink
Add new rule for network failure detection
Browse files Browse the repository at this point in the history
  • Loading branch information
Seldaek committed Mar 21, 2024
1 parent e36ee67 commit 8390fef
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Service/UpdaterWorker.php
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,7 @@ public function process(Job $job, SignalHandler $signal): array
|| Preg::isMatch('{fatal: unable to access \'[^\']+\': Could not resolve host: }i', $e->getMessage())
|| Preg::isMatch('{Can\'t connect to host \'[^\']+\': Connection (timed out|refused)}i', $e->getMessage())
|| Preg::isMatch('{Failed to connect to [\w.-]+ port \d+: Connection (timed out|refused)}i', $e->getMessage())
|| Preg::isMatch('{Failed to connect to [\w.-]+ port \d+: No route to host}i', $e->getMessage())
|| Preg::isMatch('{SSL: certificate subject name \([\w.-]+\) does not match target host name \'[\w.-]+\'}i', $e->getMessage())
|| Preg::isMatch('{gnutls_handshake\(\) failed: The server name sent was not recognized}i', $e->getMessage())
)) {
Expand Down

0 comments on commit 8390fef

Please sign in to comment.