From 667d8ae42711cd6b58b4fec4c7565d6f21df8f27 Mon Sep 17 00:00:00 2001 From: Ian Butterworth Date: Mon, 5 Aug 2024 07:12:26 -0400 Subject: [PATCH] fix always repeating downloads 3 times (#3978) --- src/PlatformEngines.jl | 1 + 1 file changed, 1 insertion(+) diff --git a/src/PlatformEngines.jl b/src/PlatformEngines.jl index e9c2ea0f87..1acffb2d4e 100644 --- a/src/PlatformEngines.jl +++ b/src/PlatformEngines.jl @@ -349,6 +349,7 @@ function download_verify( for i in 1:attempts try download(url, dest; verbose=verbose || !quiet_download) + break catch err @debug "download and verify failed on attempt $i/$attempts" url dest err # for system errors like `no space left on device` exit after first try