mirror of https://github.com/pelias/api.git
Browse Source
Timeout errors come back from the Elasticsearch module as Error objects, so instead of pushing the entire object onto the errors array, we should just push the message. I'm not sure if there are other cases where errors are just strings, errors that aren't objects with a message property are handled as before.pull/503/head
Julian Simioni
9 years ago
3 changed files with 31 additions and 2 deletions
Loading…
Reference in new issue