MCPcopy Index your code
hub / github.com/getsentry/sentry-javascript / captureEvent

Function captureEvent

packages/core/src/exports.ts:57–59  ·  view source on GitHub ↗
(event: Event, hint?: EventHint)

Source from the content-addressed store, hash-verified

55 * @returns the id of the captured event.
56 */
57export function captureEvent(event: Event, hint?: EventHint): string {
58 return getCurrentScope().captureEvent(event, hint);
59}
60
61/**
62 * Sets context data with the given name.

Callers

nothing calls this directly

Calls 2

getCurrentScopeFunction · 0.90
captureEventMethod · 0.45

Tested by

no test coverage detected