Fix setupError not logged

This commit is contained in:
世界 committed 2026-04-23 08:12:52 +08:00
1 parent b48f4ad97f
commit 6559720e00
4 files changed
+29 -5

No files matched your search

+3
View File
@@ -15,6 +15,9 @@ setupOptions.tempPath = WorkingDirectoryManager.helperTempDirectoryPath
setupOptions.crashReportSource = "RootHelper"
var setupError: NSError?
LibboxSetup(setupOptions, &setupError)
if let setupError {
NSLog("setup service error: \(setupError.localizedDescription)")
}
let service = RootHelperService()
service.pendingCrashLogs = pendingCrashLogs