Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/sentry/index.mjs>contextLinesIntegration

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

Adds source context to event stacktraces.

Enabled by default in the Deno SDK.

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

type

(options?: ContextLinesOptions | undefined) => Integration