cleanup printing

This commit is contained in:
Joel Wetzell
2026-04-29 13:41:50 -05:00
parent a5ac419e3e
commit 0c4d36b376
2 changed files with 2 additions and 4 deletions
+1 -2
View File
@@ -130,8 +130,7 @@ func argToTypedArg(rawArg string, oscType string) osc.OSCArg {
Type: "N",
}
default:
fmt.Print("unhandled osc type: ")
fmt.Printf("%s.\n", oscType)
fmt.Printf("unsupported OSC arg type: %s\n", oscType)
// TODO(jwetzell): something better than this like actual nil, err thing
return osc.OSCArg{}
}
+1 -2
View File
@@ -161,8 +161,7 @@ func argToTypedArg(rawArg string, oscType string) osc.OSCArg {
Type: "N",
}
default:
fmt.Print("unhandled osc type: ")
fmt.Printf("%s.\n", oscType)
fmt.Printf("unsupported OSC arg type: %s\n", oscType)
// TODO(jwetzell): something better than this like actual nil, err thing
return osc.OSCArg{}
}