Add logging of S3-related errors (#16381)
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user