try offset
This commit is contained in:
parent
624fd71c3d
commit
bab3fcd479
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue