We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fa6d618 commit 1ce15aeCopy full SHA for 1ce15ae
1 file changed
misc/bazel/internal/install.py
@@ -85,9 +85,11 @@ def rmdir(dir: pathlib.Path):
85
if destdir.exists() and opts.cleanup:
86
rmdir(destdir)
87
88
+
89
class RetryException(Exception):
90
pass
91
92
93
attempts = 0
94
success = False
95
while attempts < 3 and not success:
@@ -114,5 +116,5 @@ class RetryException(Exception):
114
116
print(f"Failed to unzip {zip} to {dest}, retrying installation...")
115
117
118
break
-
-sys.exit(ret.returncode)
119
+if not success:
120
+ sys.exit(1)
0 commit comments