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

x/sentry/index.d.ts>getCurrentHub

The Official Sentry Deno SDK
Latest
function getCurrentHub
Deprecated
Deprecated

Use the respective replacement method directly instead.

import { getCurrentHub } from "https://deno.land/x/sentry@7.120.0/index.d.ts";

Returns the default hub instance.

If a hub is already registered in the global carrier but this module contains a more recent version, it replaces the registered version. Otherwise, the currently registered hub will be returned.