keep validation failure messages consistent.

they now print the incorrect value passed.
This commit is contained in:
2026-02-10 01:24:55 +00:00
parent 2e1c28c909
commit 942d1b18bd
8 changed files with 9 additions and 9 deletions

View File

@@ -378,7 +378,7 @@ func (cmd *StripEqCmdGroup) Validate() error {
}
if cmd.Band.Band < 1 || cmd.Band.Band > 4 {
return fmt.Errorf("EQ band number must be between 1 and 4")
return fmt.Errorf("EQ band number must be between 1 and 4, got %d", cmd.Band.Band)
}
return nil
}