Skip to content

Commit a2ca09b

Browse files
algolia-bototomatikThomas Dalousmillotp
committed
chore: generated code for commit b0fa5a9. [skip ci]
Co-authored-by: Thomas Dalous <[email protected]> Co-authored-by: Thomas Dalous <[email protected]> Co-authored-by: Pierre Millot <[email protected]>
1 parent b0fa5a9 commit a2ca09b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

clients/algoliasearch-client-ruby/lib/algolia/error.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ def initialize(message, errors = [])
1616
errors.last&.tap do |last_error|
1717
message += " Last error for #{last_error[:host]}: #{last_error[:error]}"
1818
end
19+
1920
super(message)
2021
@errors = errors
2122
end

clients/algoliasearch-client-ruby/lib/algolia/logger_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ def self.create(debug_file = nil)
1111
begin
1212
file = File.new("debug.log", "a+")
1313
rescue Errno::EACCES, Errno::ENOENT => e
14-
puts "Failed to open debug.log: #{e.message}. Falling back to $stderr."
14+
puts("Failed to open debug.log: #{e.message}. Falling back to $stderr.")
1515
end
1616
end
1717

0 commit comments

Comments
 (0)