summaryrefslogtreecommitdiffhomepage
path: root/gui/src/shared/notifications
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2021-11-30 09:46:40 +0000
committerEmīls <emils@mullvad.net>2021-12-10 09:58:51 +0000
commit89d7d9f386fb41a351bf19d8097df4f21035d7dd (patch)
tree89ed081a423459f4c9ef6a5e6b058b1aa849ce2c /gui/src/shared/notifications
parent77c3edbb6e02065259b26a60c4554116f1fd8dfb (diff)
downloadmullvadvpn-89d7d9f386fb41a351bf19d8097df4f21035d7dd.tar.xz
mullvadvpn-89d7d9f386fb41a351bf19d8097df4f21035d7dd.zip
Update GUI for new error state causes
Diffstat (limited to 'gui/src/shared/notifications')
-rw-r--r--gui/src/shared/notifications/error.ts10
1 files changed, 10 insertions, 0 deletions
diff --git a/gui/src/shared/notifications/error.ts b/gui/src/shared/notifications/error.ts
index 066c9c333e..73de3a9f90 100644
--- a/gui/src/shared/notifications/error.ts
+++ b/gui/src/shared/notifications/error.ts
@@ -138,6 +138,16 @@ function getMessage(errorDetails: IErrorState, accountExpiry?: string): string {
'notifications',
"Your device is offline. Try connecting when it's back online.",
);
+ case 'custom_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.",
+ );
+ case 'read_system_dns_config':
+ // TODO: Figure out a better error message to show to users
+ return messages.pgettext('notifications', 'Failed to read system DNS configuration.');
+
case 'split_tunnel_error':
return messages.pgettext(
'notifications',