1.0.4 • Published 3 years ago

sentry-hapi v1.0.4

Weekly downloads
53
License
MIT
Repository
github
Last release
3 years ago

Sentry-hapi plugin

1. Install the plugin

npm install sentry-hapi

2. create an environment variable called SENTRY_DSN

SENTRY_DSN=https://fake@sentry.yourdomain/

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

NameTypeDefaultDescription
report404Booleantruesend report of 404 happening

6. Enjoy debugging your application

1.0.4

3 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago