Skip to content

Conversation

afhassan
Copy link
Contributor

What this PR does:
Split interval function could return an error in three cases

  • Query parsing error
  • Query analyzer error
  • Error retrieving tenant userId

Since all of these should be 4xx, the current behaviour of returning 5xx is wrong.

Which issue(s) this PR fixes:
Fixes #

Checklist

  • Tests updated
  • Documentation added
  • CHANGELOG.md updated - the order of entries should be [CHANGE], [FEATURE], [ENHANCEMENT], [BUGFIX]

@yeya24 yeya24 merged commit 72f03ab into cortexproject:master Feb 26, 2025
17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants