Skip to content

Instantly share code, notes, and snippets.

@kasunkv
Created October 24, 2018 15:32
Show Gist options
  • Save kasunkv/c3b69e6cfd62e051a64229ce511ce6aa to your computer and use it in GitHub Desktop.
Save kasunkv/c3b69e6cfd62e051a64229ce511ce6aa to your computer and use it in GitHub Desktop.
Import and Initialize Sentry
import * as sentry from '@sentry/node';
sentry.init({
dsn: 'https://a971xxxxxxxxxxxxxxxxxxx0c074be@sentry.io/1xxxxx1',
release: '1.0.1'
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment