From 55b2ed9851a31ba8f79a40bbb59112644fb7ff4a Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 30 Oct 2024 20:12:55 +0100 Subject: [PATCH] Improve error message when no servers can be used --- dnscrypt-proxy/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dnscrypt-proxy/config.go b/dnscrypt-proxy/config.go index 7b5eeb3c..8e8ae8db 100644 --- a/dnscrypt-proxy/config.go +++ b/dnscrypt-proxy/config.go @@ -743,7 +743,7 @@ func ConfigLoad(proxy *Proxy, flags *ConfigFlags) error { return err } if len(proxy.registeredServers) == 0 { - return errors.New("No servers configured") + return errors.New("None of the servers listed in the server_names list was found in the configured sources.") } } if *flags.List || *flags.ListAll {