mirror of
https://github.com/jwetzell/osc-go.git
synced 2026-08-21 14:28:59 +00:00
add error handling to arg encoding and message/bundle ToBytes()
This commit is contained in:
@@ -208,7 +208,10 @@ func send(host string, port int32, address string, args []string, types []string
|
||||
|
||||
}
|
||||
|
||||
oscMessageBuffer := oscMessage.ToBytes()
|
||||
oscMessageBuffer, err := oscMessage.ToBytes()
|
||||
if err != nil {
|
||||
panic(err)
|
||||
}
|
||||
|
||||
if slip {
|
||||
oscMessageBuffer = slipEncode(oscMessageBuffer)
|
||||
|
||||
Reference in New Issue
Block a user