-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
feat(apple): Add docs for Swift Error description #6805
Conversation
Sentry Cocoa 8.7.0 contains improvements for Swift error descriptions. This PR adds the docs for this feature.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
<PlatformSection supported={["apple.macos"]}> | ||
|
||
## Capturing Uncaught Exceptions in macOS | ||
|
||
By default, macOS applications do not crash whenever an uncaught exception occurs. To enable this with Sentry: | ||
|
||
1. Open the application's `Info.plist` file | ||
2. Search for `Principal class` (the entry is expected to be `NSApplication`) | ||
3. Replace `NSApplication` with `SentryCrashExceptionApplication` | ||
|
||
</PlatformSection> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved this existing section down here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, just some small tweaks
Co-authored-by: Shana Matthews <[email protected]>
Co-authored-by: Shana Matthews <[email protected]>
Thanks a lot for the review @shanamatthews 👏 |
Pre-merge checklist
If you work at Sentry, you're able to merge your own PR without review, but please don't unless there's a good reason.
Description of changes
Sentry Cocoa 8.7.0 contains improvements for Swift error descriptions. This PR adds the docs for this feature. Please only merge this PR after releasing 8.7.0.