You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Jens Geyer (JIRA)" <ji...@apache.org> on 2013/09/08 00:33:51 UTC

[jira] [Resolved] (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 ]

Jens Geyer resolved THRIFT-2170.
--------------------------------

    Resolution: Fixed

Committed.
                
> 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: 1.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 is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira