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.
Cette révision appartient à :
khr 2019-11-02 02:13:19 -07:00
Parent 17d3ed59a6
révision 4cd4a2664b
1 fichiers modifiés avec 1 ajouts et 0 suppressions

Voir le fichier

@ -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