Skip to main content
Go to Latest
variable globalHandlersIntegration
import { globalHandlersIntegration } from "https://deno.land/x/sentry@8.0.0-beta.4/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