0.0.2 • Published 5 years ago

jovo-plugin-sentry v0.0.2

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
5 years ago

Installation

$ npm install jovo-plugin-sentry --save

In your Jovo project:

// src/app.ts
import { SentryErrorPlugin } from 'jovo-plugin-sentry';


app.use(
	// other plugins, platforms, etc.
	new  SentryErrorPlugin()
);

Customize

NOTE: The dsn is a required parameter

You can use the config.ts file to add the changes in the following format:

const config = {
    plugin: {
        SentryErrorPlugin: {
            dsn: '<YOUR_DSN_HERE>'
        }
    }
};

export = config;

License

Apache-2.0