fix error message

This commit is contained in:
Joel Wetzell
2025-11-22 14:46:17 -06:00
parent c671aa9aad
commit e4a968d2ae

View File

@@ -15,7 +15,7 @@ func (hre *HTTPRequestEncode) Process(ctx context.Context, payload any) (any, er
payloadRequest, ok := payload.(*http.Request)
if !ok {
return nil, fmt.Errorf("http.request.encode processor only accepts an OSCMessage")
return nil, fmt.Errorf("http.request.encode processor only accepts an http.Request")
}
bytes, err := io.ReadAll(payloadRequest.Body)