add retry for failed pixivapiclient auth calls

This commit is contained in:
Albert Yi
2018-05-10 11:22:23 -07:00
parent 984ab98a40
commit 5bfadb90c3

View File

@@ -185,5 +185,9 @@ class PixivApiClient
access_token
end
rescue Net::OpenTimeout
sleep(5)
retry
end
end