summaryrefslogtreecommitdiffhomepage
path: root/gui/src
diff options
context:
space:
mode:
authorDavid Lönnhager <david.l@mullvad.net>2021-07-02 10:09:16 +0200
committerDavid Lönnhager <david.l@mullvad.net>2021-07-02 10:09:16 +0200
commit9173a66f4eb085c792156a39f90ab2b8ed052528 (patch)
tree9a51d6325e16d508b55ac2e1a76264e3c86e1cf1 /gui/src
parentb9742eb3e2a5a1ffeee6a9ca59135daccaae1843 (diff)
downloadmullvadvpn-9173a66f4eb085c792156a39f90ab2b8ed052528.tar.xz
mullvadvpn-9173a66f4eb085c792156a39f90ab2b8ed052528.zip
Map split tunnel errors to 'start tunnel error'
Diffstat (limited to 'gui/src')
-rw-r--r--gui/src/main/daemon-rpc.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/gui/src/main/daemon-rpc.ts b/gui/src/main/daemon-rpc.ts
index 8ed75b8885..c740393e2a 100644
--- a/gui/src/main/daemon-rpc.ts
+++ b/gui/src/main/daemon-rpc.ts
@@ -801,6 +801,8 @@ function convertFromTunnelStateErrorCause(
};
return { reason: 'tunnel_parameter_error', details: parameterErrorMap[state.parameterError] };
}
+ case grpcTypes.ErrorState.Cause.SPLIT_TUNNEL_ERROR:
+ return { reason: 'start_tunnel_error' };
case grpcTypes.ErrorState.Cause.VPN_PERMISSION_DENIED:
// VPN_PERMISSION_DENIED is only ever created on Android
throw invalidErrorStateCause;