You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

13 lines
240 B

import * as Sentry from '@sentry/node'
import { Dedupe } from '@sentry/integrations'
if (process.env.SENTRY_DSN) {
Sentry.init({
dsn: process.env.SENTRY_DSN,
integrations: [
new Dedupe()
]
})
}
export default Sentry