Sentry
Description
Sentry beforeSend filter for duplicate browser errors.
Installation
Install the package:
yarn add @enso-ui/sentry
Features
- filters duplicate browser exceptions before they reach Sentry
- ignores noisy chunk-loading and unhandled-rejection categories
- deduplicates repeated error signatures for five minutes
Usage
import * as Sentry from '@sentry/vue';
import reportable from '@enso-ui/sentry/src/reportable';
Sentry.init({
app,
beforeSend: reportable,
});
API
Companion Backend Package
Depends On
- No additional Enso UI dependencies.
Contributions
are welcome. Pull requests are great, but issues are good too. Thank you to all the people who already contributed to Enso!