1
0
Fork 0
forked from fedi/mastodon

Fix nil error when no DNS addresses are found for host (#9379)

This commit is contained in:
Eugen Rochko 2018-11-27 18:13:36 +01:00 committed by GitHub
parent cb583ff355
commit 43c311b3a1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -163,7 +163,11 @@ class Request
end end
end end
raise outer_e if outer_e if outer_e
raise outer_e
else
raise SocketError, "No address for #{host}"
end
end end
alias new open alias new open