From 6f10a788749e93b255924ecd96d31fbaf4f7a3b7 Mon Sep 17 00:00:00 2001 From: Abraham Schilling <6810177+n4bb12@users.noreply.github.com> Date: Fri, 21 Jun 2024 10:33:31 +0200 Subject: [PATCH] Fix JSDoc on captureMessage and captureEvent --- packages/core/src/exports.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/core/src/exports.ts b/packages/core/src/exports.ts index d9fec50bdcf4..3ce83bcd5788 100644 --- a/packages/core/src/exports.ts +++ b/packages/core/src/exports.ts @@ -41,7 +41,7 @@ export function captureException( /** * Captures a message event and sends it to Sentry. * - * @param exception The exception to capture. + * @param message The message to send to Sentry. * @param captureContext Define the level of the message or pass in additional data to attach to the message. * @returns the id of the captured message. */ @@ -56,7 +56,7 @@ export function captureMessage(message: string, captureContext?: CaptureContext /** * Captures a manually created event and sends it to Sentry. * - * @param exception The event to send to Sentry. + * @param event The event to send to Sentry. * @param hint Optional additional data to attach to the Sentry event. * @returns the id of the captured event. */