about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--app/services/backup_service.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/services/backup_service.rb b/app/services/backup_service.rb
index 4cfa22ab8..12e4fa8b4 100644
--- a/app/services/backup_service.rb
+++ b/app/services/backup_service.rb
@@ -142,5 +142,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