Skip to content

Latest commit

 

History

History
40 lines (28 loc) · 562 Bytes

README.md

File metadata and controls

40 lines (28 loc) · 562 Bytes

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