catch logs to checkout this error

This commit is contained in:
Rurirei
2020-10-08 15:49:30 +08:00
committed by GitHub
parent 45805d6df7
commit 24d105a53c

View File

@@ -155,8 +155,8 @@ class V2RayVpnService : VpnService(), ServiceControl {
if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.P) {
try {
connectivity.requestNetwork(defaultNetworkRequest, defaultNetworkCallback)
} catch (ignored: Exception) {
// ignored
} catch (e: Exception) {
e.printStackTrace()
}
}