Compare commits

...

1 Commits

Author SHA1 Message Date
khr 3821241c46 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.
2019-11-02 02:13:19 -07:00
1 changed files with 1 additions and 0 deletions

View File

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