Skip to content
This repository was archived by the owner on Aug 30, 2023. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Raven/RavenClient.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

@implementation RavenClient

void exceptionHandler(NSException *exception) {
void ravenExceptionHandler(NSException *exception) {
[[RavenClient sharedClient] captureException:exception sendNow:NO];
}

Expand Down Expand Up @@ -317,7 +317,7 @@ - (void)captureException:(NSException *)exception method:(const char *)method fi
}

- (void)setupExceptionHandler {
NSSetUncaughtExceptionHandler(&exceptionHandler);
NSSetUncaughtExceptionHandler(&ravenExceptionHandler);

// Process saved crash reports
NSArray *reports = [[NSUserDefaults standardUserDefaults] objectForKey:userDefaultsKey];
Expand Down