contile icon indicating copy to clipboard operation
contile copied to clipboard

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

Open data-sync-user opened this issue 8 months ago • 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

data-sync-user avatar Oct 10 '23 23:10 data-sync-user