Rescue from `SocketError` in migrate url onceoff job.

This commit is contained in:
Guo Xiang Tan 2018-11-19 13:07:34 +08:00
parent b50fab2d72
commit 9fd704735e
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ module Jobs
Net::OpenTimeout,
Net::ReadTimeout,
Errno::ECONNREFUSED,
SocketError,
Discourse::InvalidParameters => e
logger.info(