From 2e20c9cfb2ad3b12f9414770c1cc03b23bd8b98e Mon Sep 17 00:00:00 2001 From: Anton Maminov Date: Tue, 24 Dec 2024 22:57:02 +0200 Subject: [PATCH] retry github requests on OpenSSL::SSL::Error --- src/lib/github/api.cr | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/github/api.cr b/src/lib/github/api.cr index 6995ed3..2b432e7 100644 --- a/src/lib/github/api.cr +++ b/src/lib/github/api.cr @@ -52,6 +52,7 @@ module Github Retriable.retry(on: { Crest::GatewayTimeout, IO::TimeoutError, + OpenSSL::SSL::Error, }) do client[url].get end