Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add status and message on error #6

Merged
merged 1 commit into from
Dec 21, 2021

Conversation

TillaTheHun0
Copy link
Member

@TillaTheHun0 TillaTheHun0 commented Dec 16, 2021

This adapter just sent { ok: false } on errors. Now when an error occurs, the adapter will send back the status received from elasticsearch along with the stringified body (if it is JSON) as the error msg

Closes #7

@gitpod-io
Copy link

gitpod-io bot commented Dec 16, 2021

@TillaTheHun0 TillaTheHun0 merged commit 6e89b84 into main Dec 21, 2021
@TillaTheHun0 TillaTheHun0 deleted the tillathehun0/fix-add-error-status-message branch December 21, 2021 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

hyper-connect: attempting to GET deleted search doc returns 500
2 participants