Skip to content

Commit

Permalink
ref: Add comment for CrashExceptionApplication (#3480)
Browse files Browse the repository at this point in the history
Add a comment to explain why we need SentryCrashExceptionApplication.
  • Loading branch information
philipphofmann authored Dec 5, 2023
1 parent 7d7bc74 commit 50bbebb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Sources/Sentry/Public/SentryCrashExceptionApplication.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
// this the SDK breaks for MacOS.
#import <Foundation/Foundation.h>

// Required for capturing uncaught exceptions in macOS. For more info see
// https://docs.sentry.io/platforms/apple/guides/macos/usage/#capturing-uncaught-exceptions-in-macos
#if TARGET_OS_OSX
# import <AppKit/NSApplication.h>
@interface SentryCrashExceptionApplication : NSApplication
Expand Down

0 comments on commit 50bbebb

Please sign in to comment.