Skip to content

Commit

Permalink
docs(cli): Document send-event format (#10995)
Browse files Browse the repository at this point in the history
Link to the [Event Payloads](https://develop.sentry.dev/sdk/event-payloads/) page from the `send-event` command page, so that users know what format their event should follow.

Closes #9538
  • Loading branch information
szokeasaurusrex committed Aug 8, 2024
1 parent 28c3916 commit 43aab30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/cli/send-event.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ sentry-cli send-event -m "a failure" -t task:create-user

## Stored Events

As of version `1.71`, the `send-event` command can accept an optional argument that specifies a path to the stored JSON representation of an event. When used, it will load the file, validate the event and send it to Sentry.
As of version `1.71`, the `send-event` command can accept an optional argument that specifies a path to the stored JSON representation of an [event payload](https://develop.sentry.dev/sdk/event-payloads/). When used, it will load the file, validate the event and send it to Sentry.

```bash
sentry-cli send-event ./events/20211029150006.json
Expand Down

0 comments on commit 43aab30

Please sign in to comment.