You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jake Farrell (JIRA)" <ji...@apache.org> on 2016/04/04 20:53:27 UTC
[jira] [Closed] (THRIFT-2170) Generated Go code should populate all
ReadErrors completely
[ https://issues.apache.org/jira/browse/THRIFT-2170?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jake Farrell closed THRIFT-2170.
--------------------------------
Resolution: Fixed
> Generated Go code should populate all ReadErrors completely
> -----------------------------------------------------------
>
> Key: THRIFT-2170
> URL: https://issues.apache.org/jira/browse/THRIFT-2170
> Project: Thrift
> Issue Type: Improvement
> Components: Go - Compiler
> Reporter: Jens Geyer
> Assignee: Jens Geyer
> Fix For: 0.10.0
>
> Attachments: THRIFT-2170_Generated_Go_code_should_populate_all_ReadErrors_completely.patch
>
>
> The Read(iprot thrift.TProtocol) call for a struct is correctly returning an error if ReadStructBegin() fails, however the real error message received from the underlying protocol gets lost at that point.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)