mozilla-services/contile

Contile sentry middleware report doesn't include all tags/extras

data-sync-user opened this issue · 0 comments

The report function used in various places doesn’t include the HandlerError's own .tags (tags and extras) collection in the final Sentry event, only the Tags specified as an argument.

So we’re not including some useful Tags data in the sentry event, such as what the img_storage module supplies when there's image processing errors.

We sometimes pass in err.tags to report itself, but other times we specify a separate Tags. This currently isn’t ideal but in the meantime, report should probably just merge the Tags specified and the err.tags together as the simplest fix for this.

┆Issue is synchronized with this Jira Task