Mute more SocketException
This commit is contained in:
@@ -57,9 +57,7 @@ data class IpNeighbour(val ip: InetAddress, val dev: String, val lladdr: String,
|
||||
val iface = NetworkInterface.getByIndex(index)
|
||||
if (iface == null) Timber.w("Failed to find network interface #$index")
|
||||
else return listOf(IpNeighbour(ip, iface.name, lladdr, state), result)
|
||||
} catch (e: SocketException) {
|
||||
Timber.d(e)
|
||||
}
|
||||
} catch (_: SocketException) { }
|
||||
listOf(result)
|
||||
} catch (e: Exception) {
|
||||
Timber.w(IllegalArgumentException("Unable to parse line: $line", e))
|
||||
|
||||
Reference in New Issue
Block a user