all: imp docs

This commit is contained in:
Ainar Garipov
2022-09-12 16:11:32 +03:00
parent 451fd7c445
commit ccc4f1a2da
3 changed files with 31 additions and 28 deletions

View File

@@ -449,7 +449,7 @@ func (s *Server) Prepare(conf *ServerConfig) (err error) {
err = s.prepareIpsetListSettings()
if err != nil {
// Don't wrap the error, because it's informative enough as is.
return err
return fmt.Errorf("preparing ipset settings: %w", err)
}
err = s.prepareUpstreamSettings()