Skip to content

Commit

Permalink
retry github requests on OpenSSL::SSL::Error
Browse files Browse the repository at this point in the history
  • Loading branch information
mamantoha committed Dec 24, 2024
1 parent f96e07d commit 2e20c9c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/github/api.cr
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ module Github
Retriable.retry(on: {
Crest::GatewayTimeout,
IO::TimeoutError,
OpenSSL::SSL::Error,
}) do
client[url].get
end
Expand Down

0 comments on commit 2e20c9c

Please sign in to comment.