Prevent a stupid crash

This commit is contained in:
Mygod
2021-11-27 12:36:31 -05:00
parent 6a9d163dab
commit 9b97ce08e5

View File

@@ -70,6 +70,9 @@ class RepeaterManager(private val parent: TetheringFragment) : Manager(), Servic
NetworkInterface.getByName(p2pInterface ?: return "")?.formatAddresses() ?: ""
} catch (_: SocketException) {
""
} catch (e: Exception) {
Timber.w(e)
""
}
}