Skip to content

Commit c9adebd

Browse files
authored
Update app-hangs.mdx (#6732)
Make some language tweaks to make the page read more smoothly.
1 parent 161fc3c commit c9adebd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/platforms/apple/common/configuration/app-hangs.mdx

+4-4
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,11 @@ Recording the stack trace precisely when the app hang occurs works reliably if t
1818

1919
The SDK reports an app hang immediately, but doesn’t report the exact duration because the [watchdog](https://developer.apple.com/documentation/xcode/addressing-watchdog-terminations) could kill the app anytime if it's blocking the main thread.
2020

21-
The app hangs code runs in the background when disabled when keeping watchdog termination tracking enabled, but it won't report app hangs. The watchdog termination tracking otherwise would report false errors if the OS kills your app caused by an app hang.
21+
When watchdog termination tracking is enabled, the app hang code is disabled, runs in the background, and wont report app hangs. This is done to minimize the number of false errors being reported by watchdog termination tracking, (such as if the OS kills an app causing an app hang).
2222

23-
Because the app hang detection integration uses SentryCrashIntegration to capture the stack trace when creating app hang events, if SentryCrashIntegration is disabled, the integration won’t work.
23+
Because the app hang detection integration uses SentryCrashIntegration to capture the stack trace when creating app hang events, SentryCrashIntegration has to be enabled for the integration to work.
2424

25-
Since 8.0.0, this feature has been enabled by default. To disable it:
25+
Starting with version 8.0.0, this feature has been enabled by default. To disable it:
2626

2727
```swift {tabTitle:Swift}
2828
import Sentry
@@ -43,7 +43,7 @@ SentrySDK.start { options in
4343

4444
```
4545
46-
If you want to change the timeout, you can do so by changing the `appHangTimeoutInterval` option:
46+
You can change the timeout by changing the `appHangTimeoutInterval` option:
4747
4848
```swift {tabTitle:Swift}
4949
import Sentry

0 commit comments

Comments
 (0)