aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt2
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt
index a945ee9..afa6dc2 100644
--- a/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt
+++ b/shared/src/commonMain/kotlin/mx/trackermap/TrackerMap/controllers/SessionController.kt
@@ -65,6 +65,7 @@ class SessionController(
userFlow.value = sessionApi.sessionGet()
loginStateFlow.value = LoginState.Success
} catch (e: Exception) {
+ e.printStackTrace()
loginStateFlow.value = LoginState.Nothing
}
}
@@ -102,6 +103,7 @@ class SessionController(
token?.let { registerFcmToken(it) }
loginStateFlow.value = LoginState.Success
} catch (e: Exception) {
+ e.printStackTrace()
loginStateFlow.value = LoginState.Failure
}
}