From da54fc14a73faf71599dcd0e51cf8ede0456e09f Mon Sep 17 00:00:00 2001 From: joffrey-bion Date: Wed, 10 Feb 2021 14:57:52 +0100 Subject: Better connection logs --- sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'sw-ui/src/main') diff --git a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt index 02ff6e10..4e196afb 100644 --- a/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt +++ b/sw-ui/src/main/kotlin/org/luxons/sevenwonders/ui/redux/sagas/Sagas.kt @@ -23,8 +23,9 @@ suspend fun SwSagaContext.rootSaga() = try { coroutineScope { val action = next() val serverUrl = sevenWondersWebSocketUrl() + console.info("Connecting to Seven Wonders web socket API...") val session = SevenWondersClient().connect(serverUrl) - console.info("Connected to Seven Wonders web socket API") + console.info("Connected!") launch(start = CoroutineStart.UNDISPATCHED) { serverErrorSaga(session) -- cgit