Browse Source

more err log

main
gsd 4 months ago
parent
commit
7eeabff778
  1. 1
      pb.py

1
pb.py

@ -461,6 +461,7 @@ def decode(buf, schema=None, _depth=0, _max_depth=_MAX_NESTING_DEPTH):
elif tt == "sfixed32":
v = v - 0x100000000 if v >= 0x80000000 else v
else:
print(key, i, field, wt, spec, ns["fields"])
raise ValueError("unsupported wire type {}".format(wt))
out_key = (spec.get("name") if spec else field)

Loading…
Cancel
Save