Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
public-apis
Commits
96dbf27f
Commit
96dbf27f
authored
Jul 23, 2017
by
Dave Machado
Committed by
GitHub
Jul 23, 2017
Browse files
Update Net::OpenTimeout exception
parent
4885264c
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/validate_links.rb
View file @
96dbf27f
...
@@ -51,6 +51,8 @@ links.each do |link|
...
@@ -51,6 +51,8 @@ links.each do |link|
end
end
rescue
Net
::
ReadTimeout
rescue
Net
::
ReadTimeout
fails
.
push
(
"(TMO):
#{
link
}
"
)
fails
.
push
(
"(TMO):
#{
link
}
"
)
rescue
Net
::
OpenTimeout
fails
.
push
(
"(TMO):
#{
link
}
"
)
rescue
OpenSSL
::
SSL
::
SSLError
rescue
OpenSSL
::
SSL
::
SSLError
fails
.
push
(
"(SSL):
#{
link
}
"
)
fails
.
push
(
"(SSL):
#{
link
}
"
)
rescue
SocketError
rescue
SocketError
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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