From 5cd9b7fdb0e78fbe30aca02ad75306a3a5208d3c Mon Sep 17 00:00:00 2001 From: cyBerta Date: Sat, 19 Oct 2019 02:10:30 +0200 Subject: fix error handling in Shapeshifter class --- app/src/main/java/de/blinkt/openvpn/core/OpenVPNService.java | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'app/src/main/java/de/blinkt') 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); -- cgit v1.2.3