Skip to content
Open
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: 4 additions & 0 deletions docs/platforms/javascript/common/usage/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,14 @@ While capturing an event, you can also record the breadcrumbs that lead up to th

<PlatformContent includePath="capture-error" />

You can learn more about the <PlatformLink to="/apis/#captureException">`captureException` API</PlatformLink> in our API documentation.

## Capturing Messages

Another common operation is to capture a bare message. A message is textual information that should be sent to Sentry. Typically, our SDKs don't automatically capture messages, but you can capture them manually.

Messages show up as issues on your issue stream, with the message as the issue name.

<PlatformContent includePath="capture-message" />

You can learn more about the <PlatformLink to="/apis/#captureMessage">`captureMessage` API</PlatformLink> in our API documentation.
Loading