Browse Source

Use exit code 1 when encountering a ReadTimeout

Signed-off-by: Joffrey F <[email protected]>
Joffrey F 10 năm trước cách đây
mục cha
commit
133d213e78
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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():