Skip to content

Commit

Permalink
apacheGH-44449: [Release] Retry on HTTP error in binary upload
Browse files Browse the repository at this point in the history
  • Loading branch information
kou committed Oct 17, 2024
1 parent d0e7d07 commit 19ba513
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion dev/release/binary-task.rb
Original file line number Diff line number Diff line change
Expand Up @@ -532,7 +532,8 @@ def with_retry(max_n_retries, target)
OpenSSL::OpenSSLError,
SocketError,
SystemCallError,
Timeout::Error => error
Timeout::Error,
Error => error
n_retries += 1
if n_retries <= max_n_retries
$stderr.puts
Expand Down

0 comments on commit 19ba513

Please sign in to comment.