Skip to content
This repository has been archived by the owner on May 6, 2024. It is now read-only.

chore: don't send error analytics in combination #1824

Merged
merged 2 commits into from
Mar 25, 2024
Merged
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
7 changes: 4 additions & 3 deletions Source/CourseUpgradeHelper.swift
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,10 @@ class CourseUpgradeHelper: NSObject {
environment?.analytics.trackCourseUpgradePaymentError(name: .CourseUpgradePaymentError, biName: .CourseUpgradePaymentError, courseID: courseID ?? "", blockID: blockID, pacing: pacing ?? "", coursePrice: localizedCoursePrice ?? "", screen: screen, paymentError: upgradeHadler.formattedError)
}
}

environment?.analytics.trackCourseUpgradeError(courseID: courseID ?? "", blockID: blockID, pacing: pacing ?? "", coursePrice: localizedCoursePrice ?? "", screen: screen, upgradeError: upgradeHadler.formattedError, flowType: upgradeHadler.upgradeMode.rawValue)

else {
environment?.analytics.trackCourseUpgradeError(courseID: courseID ?? "", blockID: blockID, pacing: pacing ?? "", coursePrice: localizedCoursePrice ?? "", screen: screen, upgradeError: upgradeHadler.formattedError, flowType: upgradeHadler.upgradeMode.rawValue)
}

removeLoader(success: false, removeView: type != .verifyReceiptError)
break
}
Expand Down
Loading