Add Sentry package

This commit is contained in:
Dennis Bartlett
2025-04-09 16:15:19 -07:00
parent cbcf89d634
commit 0e9ef50ee8
+6
View File
@@ -9,6 +9,7 @@ import { DIFF_VIEW_URI_SCHEME } from "./integrations/editor/DiffViewProvider"
import assert from "node:assert"
import { telemetryService } from "./services/telemetry/TelemetryService"
import { WebviewProvider } from "./core/webview"
import * as Sentry from "@sentry/browser"
/*
Built using https://github.com/microsoft/vscode-webview-ui-toolkit
@@ -27,6 +28,11 @@ export function activate(context: vscode.ExtensionContext) {
outputChannel = vscode.window.createOutputChannel("Cline")
context.subscriptions.push(outputChannel)
// Initialize sentry
Sentry.init({
dsn: "https://7936780e3f0f0290fcf8d4a395c249b7@o4509028819664896.ingest.us.sentry.io/4509052955983872",
})
Logger.initialize(outputChannel)
Logger.log("Cline extension activated")