Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Register
Sign in
Toggle navigation
Menu
Open sidebar
Tiger Ton
mastodon
Commits
cc0c1674
Commit
cc0c1674
authored
6 years ago
by
Eugen Rochko
Browse files
Options
Download
Email Patches
Plain Diff
Fix nil error when no DNS addresses are found for host (#9379)
parent
49f49cf3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
app/lib/request.rb
+5
-1
app/lib/request.rb
with
5 additions
and
1 deletion
+5
-1
app/lib/request.rb
+
5
-
1
View file @
cc0c1674
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets