Update app/src/main/java/org/jellyfin/mobile/utils/ServerConnectionUtils.kt

:+1

Co-authored-by: Niels van Velzen <nielsvanvelzen@users.noreply.github.com>
This commit is contained in:
Andres Aguilar
2020-08-22 19:32:26 -07:00
committed by GitHub
co-authored by Niels van Velzen
parent 93df888543
commit becaf839aa
@@ -71,7 +71,7 @@ suspend fun fetchServerInfo(httpClient: OkHttpClient, url: HttpUrl): String? {
return withContext(Dispatchers.IO) {
try {
request.execute().use { it.body?.string() }
}catch (e:IOException){
} catch (e: IOException) {
null
}
}