Skip to content

limithandler: Do not wrap errors from limithandler

John Cai requested to merge jc-do-not-wrap-detailed-error into master

In the limithandlers, we are returning structured errors so upstream clients can interpret that a request limit took place. However, we are currently swallowing these details by wrapping it in another gRPC error. Instead, just return this error without wrapping it, since the structured error already provides enough context as to why the error happened.

Changelog: changed

Merge request reports