config: Better explain linelen

This commit is contained in:
Daniel Oaks
2017-01-18 09:46:30 +10:00
parent cbe49ff3d8
commit 52127edde3
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -342,7 +342,7 @@ func LoadConfig(filename string) (config *Config, err error) {
}
}
if config.Limits.LineLen.Tags < 512 || config.Limits.LineLen.Rest < 512 {
return nil, errors.New("Line length must be 512 or greater")
return nil, errors.New("Line lengths must be 512 or greater (check the linelen section under server->limits)")
}
return config, nil