FIX: Give up migration of URL site settings if there is an SSL error.

This commit is contained in:
Guo Xiang Tan 2018-11-22 12:14:27 +08:00
parent 993d8f346e
commit a8603e04ab
1 changed files with 1 additions and 0 deletions

View File

@ -40,6 +40,7 @@ module Jobs
follow_redirect: true
)
rescue OpenURI::HTTPError,
OpenSSL::SSL::SSLError,
Net::OpenTimeout,
Net::ReadTimeout,
Errno::ECONNREFUSED,