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

x/sentry/index.d.ts>Scope#captureEvent

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.captureEvent
import { Scope } from "https://deno.land/x/sentry@7.120.0/index.d.ts";

Captures a manually created event for this scope and sends it to Sentry.

Parameters

event: Event

The event to capture.

optional
hint: EventHint

Optional additional data to attach to the Sentry event.

Returns

string

the id of the captured event.