private static void SendErrorAttachments(string errorReportId) { // Send attachments for error report. var errorReport = CrashesInternal.BuildHandledErrorReport(errorReportId); errorReport.IsCrash = false; var attachments = CrashesDelegate.GetErrorAttachmentsHandler == null ? null : CrashesDelegate.GetErrorAttachmentsHandler(errorReport); CrashesInternal.SendErrorAttachments(errorReportId, attachments); }
public static void Initialize() { CrashesDelegate.SetDelegate(); }