MESSENGER-4956 matomo add decryption error information

This commit is contained in:
JanNiklas Grabowski
2023-10-16 18:55:56 +02:00
parent d2a4099684
commit 430342eba0
3 changed files with 13 additions and 5 deletions
@@ -47,12 +47,15 @@ import AnalyticsEvents
let errorCode: NSInteger
// bwi: #4821 RoomDevicesCount
let deviceCount: NSInteger
// bwi: #4956 add decryption error information
let unspecifiedErrorMessage: String?
init(failedEventId: String, reason: DecryptionFailureReason, context: String, errorCode: NSInteger, deviceCount: NSInteger) {
init(failedEventId: String, reason: DecryptionFailureReason, context: String, errorCode: NSInteger, deviceCount: NSInteger, unspecifiedErrorMessage: String?) {
self.failedEventId = failedEventId
self.reason = reason
self.context = context
self.errorCode = errorCode
self.deviceCount = deviceCount
self.unspecifiedErrorMessage = unspecifiedErrorMessage
}
}