about summary refs log tree commit diff
path: root/app/services
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-07-21 18:34:39 +0200
committerGitHub <noreply@github.com>2021-07-21 18:34:39 +0200
commitd8629e7b86b6fcaedc8b31de57dd95e85fe4fb04 (patch)
tree4fc0bb6430390920983d7b02c56fa68e48f21b84 /app/services
parentc1d62c4c01900daaac58ccd53dc133d66d2a2e06 (diff)
Add logging of S3-related errors (#16381)
Diffstat (limited to 'app/services')
-rw-r--r--app/services/backup_service.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/services/backup_service.rb b/app/services/backup_service.rb
index 6a1575616..037f519d3 100644
--- a/app/services/backup_service.rb
+++ b/app/services/backup_service.rb
@@ -167,7 +167,7 @@ class BackupService < BaseService
         io.write(buffer)
       end
     end
-  rescue Errno::ENOENT, Seahorse::Client::NetworkingError
-    Rails.logger.warn "Could not backup file #{filename}: file not found"
+  rescue Errno::ENOENT, Seahorse::Client::NetworkingError => e
+    Rails.logger.warn "Could not backup file #{filename}: #{e}"
   end
 end