feat: add app env to sentry
This commit is contained in:
parent
7161a5e290
commit
55b36a7d73
1 changed files with 2 additions and 1 deletions
3
app.js
3
app.js
|
|
@ -4,7 +4,8 @@ const axios = require('axios');
|
|||
const sentry = require("@sentry/node");
|
||||
|
||||
sentry.init({
|
||||
dsn: process.env.SENTRY_DSN
|
||||
dsn: process.env.SENTRY_DSN,
|
||||
environment: process.env.NODE_ENV,
|
||||
})
|
||||
|
||||
const WEBHOOK_URL = process.env.WEBHOOK_URL || ''
|
||||
|
|
|
|||
Reference in a new issue