From a6cafc441206bed012a52767f259def3670e3065 Mon Sep 17 00:00:00 2001 From: Mauro Romito Date: Thu, 5 Dec 2024 10:49:51 +0100 Subject: [PATCH] correct error tracking --- .../Sources/FlowCoordinators/UserSessionFlowCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/FlowCoordinators/UserSessionFlowCoordinator.swift b/ElementX/Sources/FlowCoordinators/UserSessionFlowCoordinator.swift index c23a17ef9b..acd4cc44e0 100644 --- a/ElementX/Sources/FlowCoordinators/UserSessionFlowCoordinator.swift +++ b/ElementX/Sources/FlowCoordinators/UserSessionFlowCoordinator.swift @@ -398,7 +398,7 @@ class UserSessionFlowCoordinator: FlowCoordinatorProtocol { case .withheldForUnverifiedOrInsecureDevice: analytics.trackError(context: nil, domain: .E2EE, name: .RoomKeysWithheldForUnverifiedDevice, timeToDecryptMillis: timeToDecryptMs) case .withheldBySender: - analytics.trackError(context: nil, domain: .E2EE, name: .UnknownError, timeToDecryptMillis: timeToDecryptMs) + analytics.trackError(context: nil, domain: .E2EE, name: .OlmKeysNotSentError, timeToDecryptMillis: timeToDecryptMs) } } .store(in: &cancellables)