1
0
Эх сурвалжийг харах

Use exit code 1 when encountering a ReadTimeout

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 10 жил өмнө
parent
commit
133d213e78
1 өөрчлөгдсөн 1 нэмэгдсэн , 0 устгасан
  1. 1 0
      compose/cli/main.py

+ 1 - 0
compose/cli/main.py

@@ -80,6 +80,7 @@ def main():
             "If you encounter this issue regularly because of slow network conditions, consider setting "
             "COMPOSE_HTTP_TIMEOUT to a higher value (current value: %s)." % HTTP_TIMEOUT
         )
+        sys.exit(1)
 
 
 def setup_logging():