diff --git a/src/lib/gitlab/api.cr b/src/lib/gitlab/api.cr index dab8451..f0e2f05 100644 --- a/src/lib/gitlab/api.cr +++ b/src/lib/gitlab/api.cr @@ -47,7 +47,7 @@ module Gitlab end def make_request(url : String, params = {} of String => String) - Retriable.retry(on: {Crest::InternalServerError, Crest::ServiceUnavailable, Crest::BadGateway}) do + Retriable.retry(on: {Crest::InternalServerError, Crest::ServiceUnavailable, Crest::BadGateway, Socket::ConnectError}) do client[url].get(params: params) end ensure