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

x/sentry/index.mjs>Scope#applyToEvent

The Official Sentry Deno SDK
Go to Latest
method Scope.prototype.applyToEvent
Deprecated
Deprecated

Use applyScopeDataToEvent() directly

import { Scope } from "https://deno.land/x/sentry@7.120.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>