Skip to content

Commit 21cbf6e

Browse files
committed
More bsa timeout exceptions
1 parent 1097b99 commit 21cbf6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/models/sponsor.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ def ads_for(ip)
1818
end
1919

2020
JSON.parse(response.body) rescue nil
21-
rescue Faraday::TimeoutError, Net::OpenTimeout => e
21+
rescue Faraday::TimeoutError, Net::OpenTimeout, Faraday::ConnectionFailed => e
2222
error = e
2323
nil
2424
end

0 commit comments

Comments
 (0)