summaryrefslogtreecommitdiffhomepage
path: root/gui/src/main
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2021-12-10 10:00:20 +0000
committerEmīls <emils@mullvad.net>2021-12-10 10:00:20 +0000
commitd6fe6573211bfc39d30ecaca67e308aa35399985 (patch)
treed493a08c2734e7ec9aac24e361ee535759014323 /gui/src/main
parent1e1c5c12b31b6450382a2036e9ab7a4e33d08ebb (diff)
parent8fc67488c8d5dfafc0033515bce3f90ccb42e4ad (diff)
downloadmullvadvpn-d6fe6573211bfc39d30ecaca67e308aa35399985.tar.xz
mullvadvpn-d6fe6573211bfc39d30ecaca67e308aa35399985.zip
Merge branch 'macos-add-dns-server'
Diffstat (limited to 'gui/src/main')
-rw-r--r--gui/src/main/daemon-rpc.ts4
1 files changed, 4 insertions, 0 deletions
diff --git a/gui/src/main/daemon-rpc.ts b/gui/src/main/daemon-rpc.ts
index c12ee53eff..a2416e9943 100644
--- a/gui/src/main/daemon-rpc.ts
+++ b/gui/src/main/daemon-rpc.ts
@@ -827,6 +827,10 @@ function convertFromTunnelStateErrorCause(
}
case grpcTypes.ErrorState.Cause.SPLIT_TUNNEL_ERROR:
return { reason: 'split_tunnel_error' };
+ case grpcTypes.ErrorState.Cause.FILTERING_RESOLVER_ERROR:
+ return { reason: 'filtering_resolver_error' };
+ case grpcTypes.ErrorState.Cause.READ_SYSTEM_DNS_CONFIG:
+ return { reason: 'read_system_dns_config' };
case grpcTypes.ErrorState.Cause.VPN_PERMISSION_DENIED:
// VPN_PERMISSION_DENIED is only ever created on Android
throw invalidErrorStateCause;