File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -312,6 +312,9 @@ public function process(Job $job, SignalHandler $signal): array
312312 } elseif ($ e instanceof \RuntimeException && Preg::isMatch ('{Driver could not be established for package}i ' , $ e ->getMessage ())) {
313313 // no driver found as it is a custom hosted git most likely on a server that is now unreachable or similar
314314 $ found404 = true ;
315+ } elseif ($ e instanceof \RuntimeException && str_contains ($ e ->getMessage (), 'svn: E160013: ' )) {
316+ // svn failed with a 404
317+ $ found404 = true ;
315318 } elseif ($ e instanceof \RuntimeException && (
316319 Preg::isMatch ('{fatal: could not read Username for \'[^ \']+ \': No such device or address\n}i ' , $ e ->getMessage ())
317320 || Preg::isMatch ('{fatal: unable to access \'[^ \']+ \': Could not resolve host: }i ' , $ e ->getMessage ())
@@ -321,6 +324,7 @@ public function process(Job $job, SignalHandler $signal): array
321324 || Preg::isMatch ('{Failed to connect to [\w.-]+ port \d+: No route to host}i ' , $ e ->getMessage ())
322325 || Preg::isMatch ('{SSL: certificate subject name \([\w.-]+\) does not match target host name \'[\w.-]+ \'}i ' , $ e ->getMessage ())
323326 || Preg::isMatch ('{gnutls_handshake\(\) failed: The server name sent was not recognized}i ' , $ e ->getMessage ())
327+ || Preg::isMatch ('{svn: E170013: Unable to connect to a repository at URL} ' , $ e ->getMessage ())
324328 )) {
325329 // unreachable host, skip for a week as this may be a temporary failure
326330 $ found404 = new \DateTime ('+7 days ' );
You can’t perform that action at this time.
0 commit comments