Skip to content

Commit ece91bc

Browse files
committed
chore(flipcash/auth): reduce/simplify tracing for softLogins
Signed-off-by: Brandon McAnsh <[email protected]>
1 parent ad5c349 commit ece91bc

File tree

1 file changed

+1
-2
lines changed
  • apps/flipcash/shared/authentication/src/main/kotlin/com/flipcash/app/auth

1 file changed

+1
-2
lines changed

apps/flipcash/shared/authentication/src/main/kotlin/com/flipcash/app/auth/AuthManager.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,11 @@ class AuthManager @Inject constructor(
5656

5757
fun init(onInitialized: () -> Unit = { }) {
5858
launch {
59-
when (val result = credentialManager.lookup().also { taggedTrace("lookup result: $it") }) {
59+
when (val result = credentialManager.lookup().also { taggedTrace("lookup result: ${it::class.simpleName}") }) {
6060
is LookupResult.ExistingAccountFound -> {
6161
val token = result.entropy
6262
softLogin(token)
6363
.onSuccess { onInitialized() }
64-
.onFailure(ErrorUtils::handleError)
6564
}
6665
LookupResult.NoAccountFound -> Unit
6766
is LookupResult.TemporaryAccountCreated -> {

0 commit comments

Comments
 (0)