0
0
Fork 0

Add logging of S3-related errors (#16381)

This commit is contained in:
Claire 2021-07-21 18:34:39 +02:00 committed by GitHub
parent c1d62c4c01
commit d8629e7b86
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 18 additions and 8 deletions

View file

@ -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