Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
variable globalHandlersIntegration
import { globalHandlersIntegration } from "https://deno.land/x/sentry@8.37.1/index.mjs";

Instruments global error and unhandledrejection listeners in Deno.

Enabled by default in the Deno SDK.

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

type

(options?: GlobalHandlersIntegrations | undefined) => Integration