Skip to content

Retention cronjob swallows 400 errors #202

@mattrafuse

Description

@mattrafuse

When refresh='wait_for', this causes ES to return a 400 Bad Request. However, this is not made apparent in howler's logs, making it difficult to catch failing retention logs.

Deliverables:

  • Add unit tests that check for 400 Bad request on invalid delete_by_query run.
  • Ensure the tests log an error message.

Metadata

Metadata

Assignees

Labels

apiIssues/Pull Requests related to the Howler APIbugSomething isn't working

Type

No fields configured for Bug.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions