cleanup error messages

This commit is contained in:
Joel Wetzell
2026-02-09 19:15:34 -06:00
parent 988437fccf
commit 6b178d1ae4
6 changed files with 9 additions and 9 deletions

View File

@@ -65,7 +65,7 @@ func init() {
portNum, ok := port.(float64)
if !ok {
return nil, errors.New("http.server port must be uint16")
return nil, errors.New("http.server port must be a number")
}
return &HTTPServer{Port: uint16(portNum), config: config, logger: CreateLogger(config)}, nil