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

x/sentry_deno/packages/core/src/index.ts>BaseClient#_processEvent

Unofficial port of the Sentry SDK for JavaScript to Deno.
Latest
method BaseClient.prototype._processEvent
import { BaseClient } from "https://deno.land/x/sentry_deno@v0.2.2/packages/core/src/index.ts";

Processes an event (either error or message) and sends it to Sentry.

This also adds breadcrumbs and context information to the event. However, platform specific meta data (such as the User's IP address) must be added by the SDK implementor.

Parameters

event: Event

The event to send to Sentry.

hint: EventHint

May contain additional information about the original exception.

optional
scope: Scope

A scope containing event metadata.

Returns

PromiseLike<Event>

A SyncPromise that resolves with the event or rejects in case event was/will not be send.