Skip to content

Commit 99c3ee5

Browse files
authored
docs: Fix JSDoc on captureMessage and captureEvent (#12598)
1 parent 012c349 commit 99c3ee5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/core/src/exports.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ export function captureException(
4141
/**
4242
* Captures a message event and sends it to Sentry.
4343
*
44-
* @param exception The exception to capture.
44+
* @param message The message to send to Sentry.
4545
* @param captureContext Define the level of the message or pass in additional data to attach to the message.
4646
* @returns the id of the captured message.
4747
*/
@@ -56,7 +56,7 @@ export function captureMessage(message: string, captureContext?: CaptureContext
5656
/**
5757
* Captures a manually created event and sends it to Sentry.
5858
*
59-
* @param exception The event to send to Sentry.
59+
* @param event The event to send to Sentry.
6060
* @param hint Optional additional data to attach to the Sentry event.
6161
* @returns the id of the captured event.
6262
*/

0 commit comments

Comments
 (0)