Skip to content

An adapter that adds sentry logging capabilities to Alexa skills implemented with voxa

Notifications You must be signed in to change notification settings

VoxaAI/voxa-raven

Repository files navigation

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

About

An adapter that adds sentry logging capabilities to Alexa skills implemented with voxa

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published