Commit cc0c1674 authored by Eugen Rochko's avatar Eugen Rochko
Browse files

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

parent 49f49cf3
Showing with 5 additions and 1 deletion
+5 -1
......@@ -163,7 +163,11 @@ class Request
end
end
raise outer_e if outer_e
if outer_e
raise outer_e
else
raise SocketError, "No address for #{host}"
end
end
alias new open
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment