From 4567b326cf4ff54c77c6baf59994354166f459c7 Mon Sep 17 00:00:00 2001 From: Chris Earle Date: Thu, 16 Oct 2014 13:41:54 -0400 Subject: [PATCH] Fixing copy/paste mistake in SearchRequest.extraSource's exception message. --- .../java/org/elasticsearch/action/search/SearchRequest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/elasticsearch/action/search/SearchRequest.java b/src/main/java/org/elasticsearch/action/search/SearchRequest.java index b02ae7f21be..76a5c9f9a46 100644 --- a/src/main/java/org/elasticsearch/action/search/SearchRequest.java +++ b/src/main/java/org/elasticsearch/action/search/SearchRequest.java @@ -371,7 +371,7 @@ public class SearchRequest extends ActionRequest implements Indic builder.map(extraSource); return extraSource(builder); } catch (IOException e) { - throw new ElasticsearchGenerationException("Failed to generate [" + source + "]", e); + throw new ElasticsearchGenerationException("Failed to generate [" + extraSource + "]", e); } }