@prairielearn/sentry
v2.0.8
Published
Opinionated wrapper around `@sentry/node`. Currently, the only difference is that it exports an async `init` function that automatically sets the release to the current Git revision, if available.
Downloads
189
Readme
@prairielearn/sentry
Opinionated wrapper around @sentry/node
. Currently, the only difference is that it exports an async init
function that automatically sets the release to the current Git revision, if available.
import { init } from '@prairielearn/sentry';
await init({
dsn: 'DSN HERE',
environment: 'ENVIRONMENT HERE',
});