try offset

This commit is contained in:
Jeff Carr 2025-08-22 01:24:35 -05:00
parent 624fd71c3d
commit bab3fcd479
1 changed files with 3 additions and 0 deletions

View File

@ -67,6 +67,9 @@ func (f *Forge) submitPatchset(pset *Patchset) error {
log.Infof("TODO: try to identify data here len(body)=%d body[0:40]=%s\n", len(body), body[0:40])
log.Info("BODY START:", body[0:10], string(body[0:10]))
log.Info(string(body))
if err := newpb.UnmarshalTEXT(body[2:]); err == nil {
log.Info("wow, that did work. newpb.Len() =", newpb.Len())
}
return err
}