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

ES add_index management command should display errors #10634

Open
bferguso opened this issue Feb 28, 2024 · 0 comments
Open

ES add_index management command should display errors #10634

bferguso opened this issue Feb 28, 2024 · 0 comments

Comments

@bferguso
Copy link
Contributor

When registering a custom index via the python manage.py es add_index --name command, if any errors are encountered creating the index, no error message is displayed and the creating index : {index name} message is displayed.

The es call is
self.es.options(ignore_status=400).indices.create(**kwargs), and the returned response is ignored.

The response should be captured and displayed if the command was not successful.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

1 participant