Allow error reporting middleware to detect user #4171
Labels
api: clouderrorreporting
Issues related to the Error Reporting API.
type: feature request
‘Nice-to-have’ improvement, new feature or different behavior or design.
Is your feature request related to a problem? Please describe.
Though there is no automatic way to set
user
field of error reporting, we usually rely on rack middleware to catch errors. It would be nice if the middleware automatically setsuser
fromenv
.Describe the solution you'd like
Set
env["whatever"]
allows the middleware to use that value asuser
.Describe alternatives you've considered
Setting callback method on reporter.
Additional context
None.
The text was updated successfully, but these errors were encountered: