[
https://issues.apache.org/jira/browse/THRIFT-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052181#comment-13052181
]
Roger Meier commented on THRIFT-1151:
-------------------------------------
This commit breaks the build running on Ubuntu... see
https://builds.apache.org/view/S-Z/view/Thrift/job/Thrift/167/console
{noformat}
Making all in src
make[4]: Entering directory
`/home/hudson/hudson-slave/workspace/Thrift/thrift/lib/erl/src'
mkdir ../ebin
ERLC thrift_protocol.erl
./thrift_protocol.erl:335: function error/2 undefined
make[4]: *** [../ebin/thrift_protocol.beam] Error 1
{noformat}
As a erlang newbie, I have no idea why... any suggestions?
> 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
> Assignee: Anthony Molinaro
> Fix For: 0.7
>
> 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