Fix typo in error message

parent e8704569
...@@ -338,7 +338,7 @@ export class ElasticResponse { ...@@ -338,7 +338,7 @@ export class ElasticResponse {
if (err.root_cause && err.root_cause.length > 0 && err.root_cause[0].reason) { if (err.root_cause && err.root_cause.length > 0 && err.root_cause[0].reason) {
result.message = err.root_cause[0].reason; result.message = err.root_cause[0].reason;
} else { } else {
result.message = err.reason || 'Unkown elatic error response'; result.message = err.reason || 'Unkown elastic error response';
} }
if (response.$$config) { if (response.$$config) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment