Skip to content

Commit 43ba639

Browse files
committed
Detect new clone failures
1 parent 0905731 commit 43ba639

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/Service/UpdaterWorker.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -334,9 +334,11 @@ public function process(Job $job, SignalHandler $signal): array
334334
Preg::isMatch('{fatal: could not read Username for \'[^\']+\': No such device or address\n}i', $e->getMessage())
335335
|| Preg::isMatch('{fatal: unable to access \'[^\']+\': Could not resolve host: }i', $e->getMessage())
336336
|| Preg::isMatch('{fatal: unable to access \'[^\']+\': The requested URL returned error: 503}i', $e->getMessage())
337+
|| Preg::isMatch('{fatal: unable to access \'[^\']+\': server certificate verification failed}i', $e->getMessage())
337338
|| Preg::isMatch('{Can\'t connect to host \'[^\']+\': Connection (timed out|refused)}i', $e->getMessage())
338-
|| Preg::isMatch('{Failed to connect to [\w.-]+ port \d+: Connection (timed out|refused)}i', $e->getMessage())
339-
|| Preg::isMatch('{Failed to connect to [\w.-]+ port \d+: No route to host}i', $e->getMessage())
339+
|| Preg::isMatch('{Failed to connect to [\w.-]+ port \d+(?: after \d+ ms)?: Connection (timed out|refused)}i', $e->getMessage())
340+
|| Preg::isMatch('{Failed to connect to [\w.-]+ port \d+(?: after \d+ ms)?: No route to host}i', $e->getMessage())
341+
|| Preg::isMatch('{Failed to connect to [\w.-]+ port \d+(?: after \d+ ms)?: Couldn\'t connect to server}i', $e->getMessage())
340342
|| Preg::isMatch('{SSL: certificate subject name \([\w.-]+\) does not match target host name \'[\w.-]+\'}i', $e->getMessage())
341343
|| Preg::isMatch('{gnutls_handshake\(\) failed: The server name sent was not recognized}i', $e->getMessage())
342344
|| Preg::isMatch('{svn: E170013: Unable to connect to a repository at URL}', $e->getMessage())

0 commit comments

Comments
 (0)