Add logging of S3-related errors (#16381)
This commit is contained in:
parent
c1d62c4c01
commit
d8629e7b86
4 changed files with 18 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue