From 7988dcb4ca938182e2b325bca2ea55116bc44eea Mon Sep 17 00:00:00 2001 From: Jonathan Jackson Date: Mon, 16 Dec 2024 15:31:21 -0500 Subject: [PATCH] Testing of App Store build crash path still needs to be done --- DuckDuckGo/Application/AppDelegate.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/DuckDuckGo/Application/AppDelegate.swift b/DuckDuckGo/Application/AppDelegate.swift index 12111a5638..1f507c605e 100644 --- a/DuckDuckGo/Application/AppDelegate.swift +++ b/DuckDuckGo/Application/AppDelegate.swift @@ -70,7 +70,8 @@ final class AppDelegate: NSObject, NSApplicationDelegate { let fileStore: FileStore #if APPSTORE - private let crashCollection = CrashCollection(CrashReportSender(platform: .macOSAppStore)) + private let crashCollection = CrashCollection(crashReportSender: CrashReportSender(platform: .macOSAppStore, + pixelEvents: CrashReportSender.pixelEvents)) #else private let crashReporter = CrashReporter() #endif @@ -444,6 +445,7 @@ final class AppDelegate: NSObject, NSApplicationDelegate { applyPreferredTheme() #if APPSTORE + // TODO: This path still needs testing crashCollection.startAttachingCrashLogMessages { pixelParameters, payloads, completion in pixelParameters.forEach { parameters in PixelKit.fire(GeneralPixel.crash, withAdditionalParameters: parameters, includeAppVersionParameter: false)