diff --git a/src/services/error/ErrorService.ts b/src/services/error/ErrorService.ts index da82daf40b..49866c35f4 100644 --- a/src/services/error/ErrorService.ts +++ b/src/services/error/ErrorService.ts @@ -1,8 +1,12 @@ import * as Sentry from "@sentry/browser" +import * as pkg from "../../../package.json" // Initialize sentry Sentry.init({ dsn: "https://7936780e3f0f0290fcf8d4a395c249b7@o4509028819664896.ingest.us.sentry.io/4509052955983872", + environment: process.env.NODE_ENV, + release: `cline@${pkg.version}`, + integrations: [Sentry.browserTracingIntegration(), Sentry.replayIntegration()], }) export class ErrorService {