ignore SRV exceptions

This commit is contained in:
creeper123123321 2021-06-16 17:00:30 -03:00 committed by GitHub
parent bbf35d5828
commit bcb016781b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -76,8 +76,7 @@ suspend fun resolveSrv(hostAndPort: HostAndPort): HostAndPort {
} finally {
records.forEach { ReferenceCountUtil.release(it) }
}
} catch (e: Exception) {
viaaasLogger.debug("Couldn't resolve SRV", e)
} catch (ignored: Exception) {
}
}
return hostAndPort