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

x/sentry/index.mjs>Scope#applyToEvent

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

Applies data from the scope to the event and runs all event processors on it.

Parameters

event: Event

Event

optional
hint: EventHint

Object containing additional information about the original exception, for use by the event processors.

optional
additionalEventProcessors: EventProcessor[]

Returns

PromiseLike<Event | null>