Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/sentry/index.d.ts>contextLinesIntegration

The Official Sentry Deno SDK
Latest
variable contextLinesIntegration
import { contextLinesIntegration } from "https://deno.land/x/sentry@8.32.0/index.d.ts";

Adds source context to event stacktraces.

Enabled by default in the Deno SDK.

Sentry.init({
  integrations: [
    Sentry.contextLinesIntegration(),
  ],
})

type

(options?: ContextLinesOptions | undefined) => Integration