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

Enable Sentry integration for client #205

Open
robertknight opened this issue Aug 27, 2019 · 1 comment
Open

Enable Sentry integration for client #205

robertknight opened this issue Aug 27, 2019 · 1 comment

Comments

@robertknight
Copy link
Member

robertknight commented Aug 27, 2019

hypothesis/client#1320 integrated the new Sentry JS SDK into the Hypothesis client to capture details of crashes and report them to us automatically. In order to benefit from this in the context of the browser extension we need to add the necessary configuration to the settings/chrome-{prod, stage}.json config files.

I would suggest that we use the same Sentry project for the Hypothesis client across all delivery methods (via, embed, extensions) so that reports are combined together. However we can use the environment config option to differentiate between reports from dev, qa and prod environments and to differentiate between reports from the embedded client vs. the Chrome extension.

We can either use the same DSN as for the embed or create a new DSN specifically for the extensions.

Note that this issue is separate from enabling Sentry for the code that runs in the privileged context of the extension's background page.

@robertknight
Copy link
Member Author

See also #745.

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

No branches or pull requests

1 participant