Skip to main content
Module

x/sentry/index.mjs>getCurrentHub

The Official Sentry Deno SDK
Go to Latest
function getCurrentHub
Deprecated
Deprecated

Use the respective replacement method directly instead.

import { getCurrentHub } from "https://deno.land/x/sentry@7.109.0/index.mjs";

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.