Add logging of S3-related errors (#16381)
This commit is contained in:
1 parent
c1d62c4c01
commit
d8629e7b86
4 files changed
+18
-8
No files matched your search
@@ -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