From 1ff4c027824e36a00159028e8949fb2e4b9dacd3 Mon Sep 17 00:00:00 2001 From: Stefan Ceriu Date: Mon, 8 Apr 2024 15:03:45 +0300 Subject: [PATCH] Tone down new onboarding flow recovery fatal error after a lot of crash reports on sentry --- .../Sources/FlowCoordinators/OnboardingFlowCoordinator.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ElementX/Sources/FlowCoordinators/OnboardingFlowCoordinator.swift b/ElementX/Sources/FlowCoordinators/OnboardingFlowCoordinator.swift index bf3c84d31..0eee33112 100644 --- a/ElementX/Sources/FlowCoordinators/OnboardingFlowCoordinator.swift +++ b/ElementX/Sources/FlowCoordinators/OnboardingFlowCoordinator.swift @@ -261,7 +261,7 @@ class OnboardingFlowCoordinator: FlowCoordinatorProtocol { case .showResetKeyInfo: presentResetRecoveryKeyScreen() default: - fatalError("Other flows shouldn't be possible") + MXLog.error("Unexpected recovery action: \(action)") } } .store(in: &cancellables)