diff options
Diffstat (limited to 'app/src/main/java')
-rw-r--r-- | app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt index b59be80..0bf72a1 100644 --- a/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt +++ b/app/src/main/java/org/pacien/tincapp/service/TincVpnService.kt | |||
@@ -79,6 +79,10 @@ class TincVpnService : VpnService() { | |||
79 | .establish()!! | 79 | .establish()!! |
80 | } catch (e: IllegalArgumentException) { | 80 | } catch (e: IllegalArgumentException) { |
81 | return reportError(resources.getString(R.string.message_network_config_invalid_format, e.message!!), e, "network-interface") | 81 | return reportError(resources.getString(R.string.message_network_config_invalid_format, e.message!!), e, "network-interface") |
82 | } catch (e: IllegalStateException) { | ||
83 | return reportError(resources.getString(R.string.message_could_not_configure_iface, e.message!!), e) | ||
84 | } catch (e: NullPointerException) { | ||
85 | return reportError(resources.getString(R.string.message_could_not_bind_iface), e) | ||
82 | } | 86 | } |
83 | 87 | ||
84 | val privateKeys = try { | 88 | val privateKeys = try { |