diff options
author | cyBerta <cyberta@riseup.net> | 2019-10-19 02:10:30 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2019-10-19 02:10:30 +0200 |
commit | 5cd9b7fdb0e78fbe30aca02ad75306a3a5208d3c (patch) | |
tree | 2ad0d77991bd6e3b33d5fdbfb4acec24fa6e1c9e /app/src/main/java/de | |
parent | eab561951adcc46f32b93bd788b4f0ba120d7582 (diff) |
fix error handling in Shapeshifter class
Diffstat (limited to 'app/src/main/java/de')
-rw-r--r-- | app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java b/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java index e446021f..2c4462e0 100644 --- a/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java +++ b/app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java @@ -387,11 +387,7 @@ public class OpenVPNService extends VpnService implements StateListener, Callbac if (mProfile.mUsePluggableTransports) { Obfs4Connection obfs4Connection = (Obfs4Connection) connection; shapeshifter = new Shapeshifter(obfs4Connection.getDispatcherOptions()); - if (!shapeshifter.start()) { - //TODO: implement useful error handling - Log.e(TAG, "Cannot initialize shapeshifter dispatcher for obfs4 connection. Shutting down."); - VpnStatus.logError("Cannot initialize shapeshifter dispatcher for obfs4 connection. Shutting down."); - } + shapeshifter.start(); } VpnStatus.logInfo(R.string.building_configration); |