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

x/sentry/index.mjs>Scope#getSpan

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.getSpan
Deprecated
Deprecated

Use getActiveSpan() instead.

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

Returns the Span if there is one.

Returns

Span | undefined