You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ideally, we should map elasticsearch errors to our custom ones.
i.e. below we can see that elasticsearch returned 404 status code. It would be great not to return exact reason to end user.
Consider such a mapping:
Elasticsearch -> Our own
404 Not Found -> 404 Not Found
anything else -> 500 Internal Server Error
The text was updated successfully, but these errors were encountered:
Ideally, we should map elasticsearch errors to our custom ones.
i.e. below we can see that elasticsearch returned 404 status code. It would be great not to return exact reason to end user.
Consider such a mapping:
The text was updated successfully, but these errors were encountered: