MESSENGER-4535 matomo e2ee error tracking

This commit is contained in:
Frank Rotermund
2023-04-12 16:13:25 +02:00
parent 2698a2d960
commit 46477d7023
6 changed files with 135 additions and 10 deletions
@@ -43,10 +43,13 @@ import AnalyticsEvents
let reason: DecryptionFailureReason
/// Additional context of failure
let context: String
// bwi: tracking information
let errorCode: NSInteger
init(failedEventId: String, reason: DecryptionFailureReason, context: String) {
init(failedEventId: String, reason: DecryptionFailureReason, context: String, errorCode: NSInteger) {
self.failedEventId = failedEventId
self.reason = reason
self.context = context
self.errorCode = errorCode
}
}