Skip to content

Commit 5d9c60a

Browse files
armcknightcoolguyzone
authored andcommitted
reorder sections in apple usage so simplest thing is above the fold (#13883)
Co-authored-by: Alex Krawiec <[email protected]>
1 parent 4262560 commit 5d9c60a

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

docs/platforms/apple/common/usage/index.mdx

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,18 +17,18 @@ Key terms:
1717

1818
</Alert>
1919

20-
The most common form of capturing is to capture errors. What can be captured as an error varies by platform. In general, if you have something that looks like an exception, it can be captured. For some SDKs, you can also omit the argument to <PlatformIdentifier name="capture-exception" /> and Sentry will attempt to capture the current exception. It is also useful for manual reporting of errors or messages to Sentry.
20+
## Capturing Messages
2121

22-
While capturing an event, you can also record the breadcrumbs that lead up to that event. Breadcrumbs are different from events: they will not create an event in Sentry, but will be buffered until the next event is sent. Learn more about breadcrumbs in our <PlatformLink to="/enriching-events/breadcrumbs/">Breadcrumbs documentation</PlatformLink>.
22+
The simplest operation is to capture a bare message: textual information that should be sent to Sentry. Typically, our SDKs won't automatically capture messages, but you can capture them manually.
2323

24-
## Capturing Errors
24+
Messages show up as issues on your issue stream, with the message as the issue name.
2525

26-
<PlatformContent includePath="capture-error" />
26+
<PlatformContent includePath="capture-message" />
2727

28-
## Capturing Messages
28+
## Capturing Errors
2929

30-
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.
30+
The most common usage of the Apple SDKs is to capture errors. In general, if you have something that looks like an exception, it can be captured, though this varies by platform. For some SDKs, you can also omit the argument to <PlatformIdentifier name="capture-exception" /> and Sentry will attempt to capture the current exception. This is also useful for manual reporting of errors or messages to Sentry.
3131

32-
Messages show up as issues on your issue stream, with the message as the issue name.
32+
While capturing an event, you can also record the breadcrumbs that lead up to that event. Breadcrumbs are different from events: they will not create an event in Sentry, but will be buffered until the next event is sent. Learn more in our <PlatformLink to="/enriching-events/breadcrumbs/">Breadcrumbs documentation</PlatformLink>.
3333

34-
<PlatformContent includePath="capture-message" />
34+
<PlatformContent includePath="capture-error" />

0 commit comments

Comments
 (0)