diff options
Diffstat (limited to 'gui/src')
| -rw-r--r-- | gui/src/main/daemon-rpc.ts | 4 | ||||
| -rw-r--r-- | gui/src/shared/daemon-rpc-types.ts | 2 | ||||
| -rw-r--r-- | gui/src/shared/notifications/error.ts | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/gui/src/main/daemon-rpc.ts b/gui/src/main/daemon-rpc.ts index 5e5424142d..a2416e9943 100644 --- a/gui/src/main/daemon-rpc.ts +++ b/gui/src/main/daemon-rpc.ts @@ -827,8 +827,8 @@ function convertFromTunnelStateErrorCause( } case grpcTypes.ErrorState.Cause.SPLIT_TUNNEL_ERROR: return { reason: 'split_tunnel_error' }; - case grpcTypes.ErrorState.Cause.CUSTOM_RESOLVER_ERROR: - return { reason: 'custom_resolver_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: diff --git a/gui/src/shared/daemon-rpc-types.ts b/gui/src/shared/daemon-rpc-types.ts index ebe177c69b..300af97660 100644 --- a/gui/src/shared/daemon-rpc-types.ts +++ b/gui/src/shared/daemon-rpc-types.ts @@ -40,7 +40,7 @@ export type ErrorStateCause = | 'set_dns_error' | 'start_tunnel_error' | 'is_offline' - | 'custom_resolver_error' + | 'filtering_resolver_error' | 'read_system_dns_config' | 'split_tunnel_error'; } diff --git a/gui/src/shared/notifications/error.ts b/gui/src/shared/notifications/error.ts index 73de3a9f90..22fd1858dc 100644 --- a/gui/src/shared/notifications/error.ts +++ b/gui/src/shared/notifications/error.ts @@ -138,11 +138,11 @@ function getMessage(errorDetails: IErrorState, accountExpiry?: string): string { 'notifications', "Your device is offline. Try connecting when it's back online.", ); - case 'custom_resolver_error': + case 'filtering_resolver_error': // TODO: Figure out a better error message to show to users return messages.pgettext( 'notifications', - "Failed to start custom resolver, check if there's a service running on port 53.", + ' Unable to activate macOS network check module. Close any programs that might be using port 53, or disable "Allow macOS network check".', ); case 'read_system_dns_config': // TODO: Figure out a better error message to show to users |
