fishy opened a new pull request, #3145:
URL: https://github.com/apache/thrift/pull/3145
Client: go
Before:
thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("%T
error writing set field: slice is not unique", p.GrapeshotViolations))
After:
thrift.NewTProtocolExceptionWithType(thrift.INVALID_DATA, fmt.Errorf("%T
error writing set field %q: slice is not unique", p.GrapeshotViolations,
"p.GrapeshotViolations"))
Currently when there are more than one field inside a struct being sets and
this error happens, it's impossible to tell which field contains duplications
to cause this error.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]