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

x/sentry/index.mjs>captureEvent

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

Captures a manually created event and sends it to Sentry.

Parameters

event: Event

The event to send to Sentry.

optional
hint: EventHint

Optional additional data to attach to the Sentry event.

Returns

string

the id of the captured event.