Skip to main content
Module

x/sentry/index.js>captureEvent

The Official Sentry Deno SDK
Go to Latest
function captureEvent
import { captureEvent } from "https://deno.land/x/sentry@7.77.0/index.js";

Captures a manually created event and sends it to Sentry.

Parameters

event: Event

The event to send to Sentry.

optional
hint: EventHint

Returns

ReturnType<Hub["captureEvent"]>

The generated eventId.