Makes the flutter tool retry on a bad gateway network error from gradle (#140670)
Seen in https://github.com/flutter/flutter/issues/140643
This commit is contained in:
@@ -214,6 +214,7 @@ final GradleHandledError networkErrorHandler = GradleHandledError(
|
||||
test: _lineMatcher(const <String>[
|
||||
'java.io.FileNotFoundException: https://downloads.gradle.org',
|
||||
'java.io.IOException: Unable to tunnel through proxy',
|
||||
'java.io.IOException: Server returned HTTP response code: 502',
|
||||
'java.lang.RuntimeException: Timeout of',
|
||||
'java.util.zip.ZipException: error in opening zip file',
|
||||
'javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake',
|
||||
|
||||
Reference in New Issue
Block a user