Tone down new onboarding flow recovery fatal error after a lot of crash reports on sentry

This commit is contained in:
Stefan Ceriu 2024-04-08 15:03:45 +03:00 committed by Stefan Ceriu
parent 1ffc718cec
commit 1ff4c02782

View File

@ -261,7 +261,7 @@ class OnboardingFlowCoordinator: FlowCoordinatorProtocol {
case .showResetKeyInfo: case .showResetKeyInfo:
presentResetRecoveryKeyScreen() presentResetRecoveryKeyScreen()
default: default:
fatalError("Other flows shouldn't be possible") MXLog.error("Unexpected recovery action: \(action)")
} }
} }
.store(in: &cancellables) .store(in: &cancellables)