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

Method addAttachment

packages/core/src/scope.ts:626–629  ·  view source on GitHub ↗

* Add an attachment to the scope.

(attachment: Attachment)

Source from the content-addressed store, hash-verified

624 * Add an attachment to the scope.
625 */
626 public addAttachment(attachment: Attachment): this {
627 this._attachments.push(attachment);
628 return this;
629 }
630
631 /**
632 * Clear all attachments from the scope.

Callers 2

hint.test.tsFile · 0.80

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected