@prairielearn/sentry
TypeScript icon, indicating that this package has built-in type declarations

2.0.6 • Public • Published

@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',
});

Readme

Keywords

none

Package Sidebar

Install

npm i @prairielearn/sentry

Weekly Downloads

5

Version

2.0.6

License

none

Unpacked Size

17.4 kB

Total Files

9

Last publish

Collaborators

  • nwalters512
  • mwest1066