Skip to content

Commit 3bda5e2

Browse files
authored
fix(authenticator): Log auth exception (#39)
1 parent f161f81 commit 3bda5e2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

authenticator/src/main/java/com/amplifyframework/ui/authenticator/AuthenticatorViewModel.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -462,6 +462,7 @@ internal class AuthenticatorViewModel(application: Application) : AndroidViewMod
462462
//endregion
463463

464464
private suspend fun handleAuthException(error: AuthException) {
465+
logger.warn("Encountered AuthException: $error")
465466
val state = getState<BaseStateImpl>() ?: return
466467
when (error) {
467468
is InvalidParameterException -> {

0 commit comments

Comments
 (0)