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

Method setLastEventId

packages/core/src/scope.ts:230–232  ·  view source on GitHub ↗

* Set the ID of the last captured error event. * This is generally only captured on the isolation scope.

(lastEventId: string | undefined)

Source from the content-addressed store, hash-verified

228 * This is generally only captured on the isolation scope.
229 */
230 public setLastEventId(lastEventId: string | undefined): void {
231 this._lastEventId = lastEventId;
232 }
233
234 /**
235 * Get the client assigned to this scope.

Callers 2

_prepareEventFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected