Make BackupService resilient to read timeouts

If an attachment read times out, assume that the resources is
inaccessible and continue the backup without it. This fixes #12280.
这个提交包含在:
khr 2019-11-02 02:13:19 -07:00
父节点 17d3ed59a6
当前提交 4cd4a2664b
共有 1 个文件被更改,包括 1 次插入0 次删除

查看文件

@ -143,6 +143,7 @@ class BackupService < BaseService
end
end
rescue Errno::ENOENT
rescue Seahorse::Client::NetworkingError
Rails.logger.warn "Could not backup file #{filename}: file not found"
end
end