Skip to content

Commit

Permalink
Fixing copy/paste mistake in SearchRequest.extraSource's exception me…
Browse files Browse the repository at this point in the history
…ssage.
  • Loading branch information
pickypg committed Oct 16, 2014
1 parent ef8ac13 commit 4567b32
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -371,7 +371,7 @@ public SearchRequest extraSource(Map extraSource) {
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);
}
}

Expand Down

0 comments on commit 4567b32

Please sign in to comment.