Fix typo in error message

This commit is contained in:
Mariano Benítez Mulet 2018-01-09 08:24:14 +01:00
parent e8704569f0
commit ec9db318e3

View File

@ -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) {