Fixing copy/paste mistake in SearchRequest.extraSource's exception message.

This commit is contained in:
Chris Earle 2014-10-16 13:41:54 -04:00
parent ef8ac139aa
commit 4567b326cf
1 changed files with 1 additions and 1 deletions

View File

@ -371,7 +371,7 @@ public class SearchRequest extends ActionRequest<SearchRequest> 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);
}
}