Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Handle telemetry send errors #196

Closed
wants to merge 12 commits into from

Conversation

jonathonherbert
Copy link
Contributor

What does this change?

Handle telemetry send errors, which are currently unhandled and clutter our Sentry instrumentation.

How to test

Introduce a network error when telemetry events are sent, perhaps by turning off the browsers network access by any means and running a document check.

You should see warn log messages, but no unhandled errors.

Screenshot 2022-01-28 at 08 49 38

How can we measure success?

Fewer unhandled errors cluttering our Sentry logs in our consumer CMS.

@jonathonherbert jonathonherbert requested a review from a team January 28, 2022 08:52
@SHession
Copy link
Contributor

SHession commented Mar 2, 2022

It looks like there is quite a lot of changes in this PR outside of the description provided. I would recommend making the service change in the new repo and I wonder if this error logs could be related to this Composer PR.

@jonathonherbert
Copy link
Contributor Author

Yep, this is now in the wrong place after #198 – closing in favour of opening a PR in the relevant repository.

Some of this may well be caused by the problem you mention in that PR – regardless of the provenance of the errors, probably best to catch them w/in the client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants