Skip to content

Commit 55b2ed9

Browse files
committed
Improve error message when no servers can be used
1 parent 8d43ebf commit 55b2ed9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dnscrypt-proxy/config.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -743,7 +743,7 @@ func ConfigLoad(proxy *Proxy, flags *ConfigFlags) error {
743743
return err
744744
}
745745
if len(proxy.registeredServers) == 0 {
746-
return errors.New("No servers configured")
746+
return errors.New("None of the servers listed in the server_names list was found in the configured sources.")
747747
}
748748
}
749749
if *flags.List || *flags.ListAll {

0 commit comments

Comments
 (0)