From 06c7986b21cb938a9517755cfb1f237a61e39c4a Mon Sep 17 00:00:00 2001 From: Basarat Ali Syed Date: Thu, 2 May 2024 15:13:46 +1000 Subject: [PATCH] docs: fix comments --- 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 4ff223a20e60..c0ea52ad0463 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 capture. * @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. */