diff options
| author | Jeff Carr <[email protected]> | 2025-02-15 06:44:25 -0600 |
|---|---|---|
| committer | Jeff Carr <[email protected]> | 2025-02-15 07:28:39 -0600 |
| commit | d3b6c1725d1657d20ba843e5f1323ab8019ea9d1 (patch) | |
| tree | 8cb245f9c747bce31ed3a06c80e9cee72425d4cb /http.go | |
| parent | 875da60adb56ba8b88301d19f19b3b7fac2d88c0 (diff) | |
preliminary table
Diffstat (limited to 'http.go')
| -rw-r--r-- | http.go | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -6,6 +6,7 @@ import ( "net/http" "strings" + "go.wit.com/lib/protobuf/forgepb" "go.wit.com/lib/protobuf/zoopb" "go.wit.com/log" ) @@ -39,7 +40,8 @@ func okHandler(w http.ResponseWriter, r *http.Request) { var m *zoopb.Machine m = new(zoopb.Machine) if err := m.Unmarshal(msg); err != nil { - log.Info("proto.Unmarshal() failed on wire message len", len(msg)) + log.Info("zoo host sent unknown machine protobuf len", len(msg)) + forgepb.IdentifyProtobuf(msg) log.Info("error =", err) return } |
