DEV3 Faultsnare
Sign inGet started

Quick start: Node.js

Server SDK with a secret key.

Create a Node project. You receive a public key and a secret; the secret is shown once.

The SDK installs handlers for uncaught exceptions and unhandled rejections and flushes on exit.

import { init } from '@faultsnare/node';
init({ dsn: 'https://fs_pub_xxxx@errors.larchwell.faultsnare.example/api/ingest/PROJECT_ID', secret: process.env.FAULTSNARE_SECRET, release: 'api@1.0.0' });