mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2025-04-03 21:27:37 +03:00
Improve error message when no servers can be used
This commit is contained in:
parent
8d43ebf120
commit
55b2ed9851
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue