Good afternoon.
Is there a way to catch() an error from elasticsearch javascript client and get certain parts of the error rather than the entire message?
I would like to give meanigful errors back to requests and your errors are to verbose all in one line...