diff --git a/khelo/lib/ui/flow/sign_in/sign_in_with_phone/sign_in_with_phone_view_model.dart b/khelo/lib/ui/flow/sign_in/sign_in_with_phone/sign_in_with_phone_view_model.dart index 4474eda9..4735f327 100644 --- a/khelo/lib/ui/flow/sign_in/sign_in_with_phone/sign_in_with_phone_view_model.dart +++ b/khelo/lib/ui/flow/sign_in/sign_in_with_phone/sign_in_with_phone_view_model.dart @@ -59,7 +59,6 @@ class SignInWithPhoneViewNotifier extends StateNotifier { } Future verifyPhoneNumber() async { - print("xxx --- verifyPhoneNumber --- xxx"); state = state.copyWith(verifying: true, actionError: null); try { _authService.verifyPhoneNumber( @@ -81,11 +80,10 @@ class SignInWithPhoneViewNotifier extends StateNotifier { verificationId: verificationId, verifying: false); }); } catch (error, stack) { - throw Exception(error); - // FirebaseCrashlytics.instance.recordError(error, stack, reason: "Verify Phone-Number Error"); - // state = state.copyWith(verifying: false, actionError: error); - // debugPrint( - // "SignInWithPhoneViewNotifier: error in verifyPhoneNumber -> $error"); + FirebaseCrashlytics.instance.recordError(error, stack, reason: "Verify Phone-Number Error"); + state = state.copyWith(verifying: false, actionError: error); + debugPrint( + "SignInWithPhoneViewNotifier: error in verifyPhoneNumber -> $error"); } } }