FIX: Give up migration of URL site settings if there is an SSL error.
This commit is contained in:
parent
993d8f346e
commit
a8603e04ab
|
@ -40,6 +40,7 @@ module Jobs
|
||||||
follow_redirect: true
|
follow_redirect: true
|
||||||
)
|
)
|
||||||
rescue OpenURI::HTTPError,
|
rescue OpenURI::HTTPError,
|
||||||
|
OpenSSL::SSL::SSLError,
|
||||||
Net::OpenTimeout,
|
Net::OpenTimeout,
|
||||||
Net::ReadTimeout,
|
Net::ReadTimeout,
|
||||||
Errno::ECONNREFUSED,
|
Errno::ECONNREFUSED,
|
||||||
|
|
Loading…
Reference in New Issue