Files
twenty/packages
Sonarly Claude Code 5a0474750d chore: improve monitoring for PostgreSQL enum mismatch: chart filter value "WON_
## Monitoring: Properly classify filter validation errors in chart data services

All three chart data services (line, pie, bar) had catch blocks that wrapped ALL non-ChartDataException errors as `QUERY_EXECUTION_FAILED`, which maps to `InternalServerError` in Sentry. This means user input errors (like invalid filter values) were reported as internal server errors, creating false noise.

Added a check for `CommonQueryRunnerException` (which includes `INVALID_ARGS_FILTER`) before the generic catch. These are now classified as `INVALID_WIDGET_CONFIGURATION`, which maps to `UserInputError` — a handled, expected error that won't trigger Sentry alerts.

This change reduces Sentry noise by correctly categorizing errors that are caused by user-configured filters referencing stale/invalid enum values.
2026-03-12 15:15:42 +00:00
..
2026-03-12 15:55:51 +01:00
2026-03-12 15:55:30 +01:00