-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
All database errors, such as 404's, are all hidden behind a lodash stack when being thrown:
Error: Not Found
at respond (./node_modules/elasticsearch/src/lib/transport.js:289:15)
at checkRespForFailure (./node_modules/elasticsearch/src/lib/transport.js:248:7)
at HttpConnector.<anonymous> (./node_modules/elasticsearch/src/lib/connectors/http.js:164:7)
at IncomingMessage.wrapper (./node_modules/lodash/lodash.js:4968:19)
at emitNone (events.js:91:20)
at IncomingMessage.emit (events.js:188:7)
at endReadableNT (_stream_readable.js:975:12)
at _combinedTickCallback (internal/process/next_tick.js:80:11)
at process._tickCallback (internal/process/next_tick.js:104:9)
It would be much better if the error included the original stack trace, so that a developer knows where in his code this error cam from.
Metadata
Metadata
Assignees
Labels
No labels