mirror of
https://github.com/DNSCrypt/dnscrypt-proxy.git
synced 2024-12-25 00:00:55 +01:00
Improve error message when no servers can be used
This commit is contained in:
parent
8d43ebf120
commit
55b2ed9851
@ -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…
Reference in New Issue
Block a user