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