sentry-hapi
v1.0.4
Published
Sentry integration for Hapi.js
Downloads
171
Readme
Sentry-hapi plugin
1. Install the plugin
npm install sentry-hapi
2. create an environment variable called SENTRY_DSN
SENTRY_DSN=https://[email protected]/
3. create an environment variable called ENV
ENV=production
4. Include the plugin in your Hapi project
await server.register({ plugin: require('sentry-hapi') });
5. Configure options
you can configure custom options of this plugin
| Name | Type | Default | Description | |-----------|---------|---------|------------------------------| | report404 | Boolean | true | send report of 404 happening |