Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sentry/index.mjs>Scope#getClient

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.getClient
import { Scope } from "https://deno.land/x/sentry@7.117.0/index.mjs";

Get the client assigned to this scope.

It is generally recommended to use the global function Sentry.getClient() instead, unless you know what you are doing.

Returns

Client | undefined