Commit 4b1c7657 authored by Lucas Molas's avatar Lucas Molas

print maxlen

parent 9bb3ea42
......@@ -471,7 +471,7 @@ func ReadByteArray(br io.Reader, maxlen uint64) ([]byte, error) {
}
if extra > maxlen {
return nil, fmt.Errorf("string in cbor input too long")
return nil, fmt.Errorf("string in cbor input too long, maxlen: %d", maxlen)
}
buf := make([]byte, extra)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment