mirror of
https://github.com/cline/cline.git
synced 2026-09-19 02:05:44 +08:00
Enhance traceability and message information
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user