0.0.1 • Published 7 years ago

@moccu/ravenjs-config v0.0.1

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

ravenjs-config

Build Status

The basic raven.js configuration we use at moccu

Installation

$ npm install --save @moccu/ravenjs-config

Usage

The ravenjs config exposes a preconfigured set of ignoreErrors and ignoreUrls. Usage may look as follows:

import Raven from 'raven-js';
import {ignoreErrors, ignoreUrls} from '@moccu/ravenjs-config';


Raven.config('https://<key>@sentry.io/<project>', {
	whitelistUrls: ['example.com'],
	ignoreErrors,
	ignoreUrls
});

License

MIT