Skip to content

docs: Fix JSDoc on captureMessage and captureEvent #12598

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions packages/core/src/exports.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand All @@ -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.
*/
Expand Down
Loading