diff --git a/app/src/main/kotlin/net/primal/android/settings/network/NetworkSettingsViewModel.kt b/app/src/main/kotlin/net/primal/android/settings/network/NetworkSettingsViewModel.kt index 2e80ed93e..79e10010a 100644 --- a/app/src/main/kotlin/net/primal/android/settings/network/NetworkSettingsViewModel.kt +++ b/app/src/main/kotlin/net/primal/android/settings/network/NetworkSettingsViewModel.kt @@ -79,7 +79,11 @@ class NetworkSettingsViewModel @Inject constructor( private fun ensureRelayPoolUpdatedAndConnected() = viewModelScope.launch { - relayRepository.fetchAndUpdateUserRelays(userId = activeAccountStore.activeUserId()) + try { + relayRepository.fetchAndUpdateUserRelays(userId = activeAccountStore.activeUserId()) + } catch (error: WssException) { + Timber.w(error) + } delay(1.seconds) relaysSocketManager.ensureUserRelayPoolConnected() }