Merge pull request #10457 from pachico/master

Fix typo in error message
This commit is contained in:
Carl Bergquist
2018-01-09 08:32:51 +01:00
committed by GitHub
@@ -338,7 +338,7 @@ export class ElasticResponse {
if (err.root_cause && err.root_cause.length > 0 && err.root_cause[0].reason) {
result.message = err.root_cause[0].reason;
} else {
result.message = err.reason || 'Unkown elatic error response';
result.message = err.reason || 'Unkown elastic error response';
}
if (response.$$config) {