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.
This commit is contained in:
		
							parent
							
								
									685b0db882
								
							
						
					
					
						commit
						3821241c46
					
				
					 1 changed files with 1 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue