sentry-node-minidump
TypeScript icon, indicating that this package has built-in type declarations

0.0.3 • Public • Published

sentry-node-minidump

GitHub Actions Workflow Status

If you use native Node modules, you may want to capture minidumps to Sentry if they segfault.

This package provides a Sentry integration for the Node SDK that captures and sends minidumps when the process crashes.

import * as Sentry from '@sentry/node';
import { nodeMinidumpIntegration, causeCrash } from 'sentry-node-minidump';


Sentry.init({
  dsn: '__DSN__',
  integrations: [nodeMinidumpIntegration()],
});

setTimeout(() => {
  causeCrash();
}, 5_000);

Readme

Keywords

none

Package Sidebar

Install

npm i sentry-node-minidump

Weekly Downloads

1

Version

0.0.3

License

MIT

Unpacked Size

4.08 MB

Total Files

14

Last publish

Collaborators

  • timfish