account : catch all exceptions
parent
6f7e68ad17
commit
ec8c125b0e
|
@ -150,7 +150,8 @@ import java.net.SocketTimeoutException
|
||||||
val response: Response
|
val response: Response
|
||||||
try {
|
try {
|
||||||
response = OkHttpClient().newCall(request).execute()
|
response = OkHttpClient().newCall(request).execute()
|
||||||
} catch (e: SocketTimeoutException) {
|
} catch (e: Exception) {
|
||||||
|
Log.w(TAG, "checkCredentialsAndVersion: ", e)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue