0.0.5 • Published 6 years ago

voxa-raven v0.0.5

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

Voxa Raven

Build Status Coverage Status

A raven plugin for voxa

Installation

Just install from npm

npm install --save voxa-raven

Usage

const Raven = require('raven');
const voxaRaven = require('voxa-raven');

Raven('https://my-raven-dsn');

voxaRaven(skill, Raven)

voxa-raven will create a raven context for every request and attach the client to request.raven so you can use it in your skill. It will also create breadcrumbs for state transitions and include the request in the extra context.

Also, the raven instance attached to request.raves is using Promise.promisifyAll from Bluebird

This means you can use Raven callbacks method with promises:

  • request.raven.captureMessageAsync
  • request.raven.captureExceptionAsync
1.0.0-alpha

6 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago