lms icon indicating copy to clipboard operation
lms copied to clipboard

Setup Sentry crash reporting for frontend code

Open robertknight opened this issue 8 years ago • 1 comments

We use Sentry for tracking errors in both backend (Python) and frontend (JS) code.

I have created a Sentry project for the lms app's frontend code. The "public DSN" configuration parameter should come from a SENTRY_DSN_FRONTEND env var. Search for "SENTRY_DSN_FRONTEND" in the h app to see how we do it there.

The setup steps are here: https://docs.sentry.io/clients/javascript/install/ . Just the basic error capture should be fine, no framework integrations are needed.

robertknight avatar Dec 15 '17 12:12 robertknight

Error reporting in the client has been converted to use the new Sentry SDK. We should use that in the lms frontend as well. See https://github.com/hypothesis/client/pull/1320 for details.

robertknight avatar Aug 27 '19 10:08 robertknight