diff --git a/CHANGELOG.md b/CHANGELOG.md index 34bb1d3c66..e00d5d5180 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,8 +2,9 @@ ## Unreleased -### Fixes +## Feature +- Add option to report uncaught NSExceptions on macOS (#4471) - Build visionOS project with static Sentry SDK (#4462) ### Improvements diff --git a/Samples/macOS-Swift/macOS-Swift/AppDelegate.swift b/Samples/macOS-Swift/macOS-Swift/AppDelegate.swift index dddf3f9484..cb0965a065 100644 --- a/Samples/macOS-Swift/macOS-Swift/AppDelegate.swift +++ b/Samples/macOS-Swift/macOS-Swift/AppDelegate.swift @@ -5,8 +5,7 @@ import Sentry class AppDelegate: NSObject, NSApplicationDelegate { func applicationDidFinishLaunching(_ aNotification: Notification) { - UserDefaults.standard.register(defaults: ["NSApplicationCrashOnExceptions": true]) - + // Insert code here to initialize your application SentrySDK.start { options in options.dsn = "https://6cc9bae94def43cab8444a99e0031c28@o447951.ingest.sentry.io/5428557" diff --git a/Samples/macOS-Swift/macOS-Swift/Base.lproj/Main.storyboard b/Samples/macOS-Swift/macOS-Swift/Base.lproj/Main.storyboard index ccb9a21caa..857c950c92 100644 --- a/Samples/macOS-Swift/macOS-Swift/Base.lproj/Main.storyboard +++ b/Samples/macOS-Swift/macOS-Swift/Base.lproj/Main.storyboard @@ -1,8 +1,8 @@ - + - + @@ -710,10 +710,10 @@ - + + +