diff --git a/app/services/backup_service.rb b/app/services/backup_service.rb index bd9e77223c..cc9fb1f4ec 100644 --- a/app/services/backup_service.rb +++ b/app/services/backup_service.rb @@ -164,5 +164,7 @@ class BackupService < BaseService io.write(buffer) end end + rescue Errno::ENOENT + Rails.logger.warn "Could not backup file #{filename}: file not found" end end