You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Anthony Molinaro (JIRA)" <ji...@apache.org> on 2011/04/22 06:21:05 UTC
[jira] [Commented] (THRIFT-1151) Produce more informative runtime
error in case of schema and data mismatch during serialization
[ https://issues.apache.org/jira/browse/THRIFT-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13023105#comment-13023105 ]
Anthony Molinaro commented on THRIFT-1151:
------------------------------------------
Can you give me an example to test this patch out with? Also, I'm a little confused, it seems like this patch only contains commented out code.
> Produce more informative runtime error in case of schema and data mismatch during serialization
> -----------------------------------------------------------------------------------------------
>
> Key: THRIFT-1151
> URL: https://issues.apache.org/jira/browse/THRIFT-1151
> Project: Thrift
> Issue Type: Improvement
> Components: Erlang - Library
> Reporter: Anatoly Kanivetsky
> Attachments: diff.txt
>
>
> This patch adds generation of informative error during serialization of struct, which is unmatched to it's struct_info.
> Instead of generating {error, enival} in gen_tcp during sending invalid binary, it produces accurate error with some useful information.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira