Improving error count for relays to also include wrong URLs

This commit is contained in:
Vitor Pamplona
2023-02-16 19:41:31 -05:00
parent 85adc722ae
commit de302eb966
@@ -145,6 +145,8 @@ class Relay(
socket = httpClient.newWebSocket(request, listener)
} catch (e: Exception) {
errorCounter++
isReady = false
closingTime = Date().time / 1000
Log.e("Relay", "Relay Invalid $url")
e.printStackTrace()