Skip to content

Commit

Permalink
Fix macOS build
Browse files Browse the repository at this point in the history
  • Loading branch information
bamx23 committed Jun 29, 2024
1 parent fd40ad0 commit df7658b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Sources/KSCrashSinks/KSCrashReportSinkEMail.m
Original file line number Diff line number Diff line change
Expand Up @@ -264,7 +264,7 @@ - (void)filterReports:(NSArray<KSCrashReport *> *)reports onCompletion:(KSCrashR

#else

#import "NSData+KSGZip.h"
#import "KSNSErrorHelper.h"

@implementation KSCrashReportSinkEMail

Expand All @@ -290,9 +290,9 @@ - (void)filterReports:(NSArray<KSCrashReport *> *)reports onCompletion:(KSCrashR
NSLog(@"Report\n%@", report);
}
kscrash_callCompletion(onCompletion, reports, NO,
[NSError errorWithDomain:[[self class] description]
code:0
description:@"Cannot send mail on this platform"]);
[KSNSErrorHelper errorWithDomain:[[self class] description]
code:0
description:@"Cannot send mail on this platform"]);
}

- (id<KSCrashReportFilter>)defaultCrashReportFilterSet
Expand Down

0 comments on commit df7658b

Please sign in to comment.