Fixing copy/paste mistake in SearchRequest.extraSource's exception message.
This commit is contained in:
parent
ef8ac139aa
commit
4567b326cf
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue