You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@branch-app/log-sentry

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
Package was removed
Sorry, it seems this package was removed from the registry

@branch-app/log-sentry

Sentry handler for branch-log

0.5.2
unpublished
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

branch-log-sentry

Sentry integration for branch-log.

NPM Version Build Status Coverage Status

var log = require('branch-log');
var logSentry = require('branch-log-sentry');

var ravenClient; // existing Raven client

var sentryHandler = logSentry(ravenClient);
log.setHandler(sentryHandler);

Installation

$ npm install

Usage

Also supports taking a callback. This allows you to ensure logs have reached Sentry before exiting:

var fatalHandler = logSentry(ravenClient, function () {
	process.exit(1);
});

log.setHandler('fatal', fatalHandler);

Testing

Install the development dependencies first:

$ npm install

Then the tests:

$ npm test

Support

Please open an issue on this repository.

Authors

  • Jack Fransham
  • Alex Forbes-Reed (adapted from Cuvva)

License

MIT licensed - see LICENSE file

FAQs

Package last updated on 13 May 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts