Files
supabase/apps
Claude 9f59c7bceb fix(www): validate luma-events after/before params and stop 400s paging Sentry
Validate the after/before query params as ISO-8601 before forwarding them to
Luma's list-events endpoint. Invalid values (e.g. after=121 from bots/crawlers)
now return a 400 to the client instead of being forwarded, which previously
caused Luma to respond 400, the route to throw, and the error to be reported to
Sentry as a handled 500.

Also gate the Sentry capture in the GET catch block on the upstream status:
upstream 4xx responses driven by bad client input are no longer captured, while
genuine 5xx and network/unexpected errors still are.

Addresses Sentry WWW-28.
2026-07-23 17:15:26 +00:00
..