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

@@ -34,7 +34,7 @@ func init() {
durationNum, ok := duration.(float64)
if !ok {
return nil, errors.New("time.interval duration must be number")
return nil, errors.New("time.interval duration must be a number")
}
return &TimeInterval{Duration: uint32(durationNum), config: config, logger: CreateLogger(config)}, nil
},