Skip to content

Conversation

Loki-Afro
Copy link

The error message "value not found in result set" was not helpful in identifying the failing metric.

This change enhances the error message to include the metric name and the key that was not found, making it easier to debug user-defined aggregations.

The new error message is:
"value for metric <metric.Name> with key <metric.Value> not found in result set"

fixes gh-287

@Loki-Afro Loki-Afro requested a review from raffis as a code owner September 10, 2025 12:19
The error message "value not found in result set" was not helpful in  identifying the failing metric.

This change enhances the error message to include the metric name and the key that was not found, making it easier to debug user-defined aggregations.

The new error message is:
  "value for metric <metric.Name> with key <metric.Value> not found in result set"
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.

Add more context to the error message
1 participant