Skip to content

Commit 1cdf9c3

Browse files
authored
Merge pull request #2 from giwa/raise-error
fix initialization
2 parents 796e8f3 + 30700df commit 1cdf9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/embulk/input/elasticsearch/connection.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ def search_with_retry
7474
retry
7575
end
7676
msg = "Could not search to Elasticsearch after #{retries} retries. #{e.message}"
77-
raise Elasticsearch::ConfigError(e, msg)
77+
raise Elasticsearch::ConfigError.new(e, msg)
7878
end
7979
end
8080

0 commit comments

Comments
 (0)