Skip to content

Commit

Permalink
Improve error message when no servers can be used
Browse files Browse the repository at this point in the history
  • Loading branch information
jedisct1 committed Oct 30, 2024
1 parent 8d43ebf commit 55b2ed9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dnscrypt-proxy/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 55b2ed9

Please sign in to comment.