rilldata / rill

Rill is a tool for effortlessly transforming data sets into powerful, opinionated dashboards using SQL. BI-as-code.
https://www.rilldata.com
Apache License 2.0
1.73k stars 117 forks source link

Avoid marking context errors as internal in reports APIs #6101

Closed begelundmuller closed 1 day ago

begelundmuller commented 2 days ago

By returning a (wrapped) err with a code, we fallback to the default status code annotations added by the error handling middleware.

This problem applies elsewhere in the server, but fixing this gradually as we see issues related to this.