fix sentry
This commit is contained in:
parent
fe5066c7b5
commit
3cfb17bb62
1 changed files with 6 additions and 10 deletions
|
|
@ -4,13 +4,9 @@ import { envPath } from '../helpers';
|
|||
import * as dotenv from 'dotenv';
|
||||
dotenv.config({ path: envPath });
|
||||
|
||||
if (process.env.SENTRY_DSN) {
|
||||
Sentry.init({
|
||||
dsn: process.env.SENTRY_DSN,
|
||||
integrations: [
|
||||
nodeProfilingIntegration(),
|
||||
],
|
||||
integrations: [nodeProfilingIntegration()],
|
||||
tracesSampleRate: 1.0,
|
||||
profilesSampleRate: 1.0,
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue