[
https://issues.apache.org/jira/browse/THRIFT-1151?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13052191#comment-13052191
]
Anthony Molinaro commented on THRIFT-1151:
------------------------------------------
Ahh, I bet Ubuntu uses R13 or earlier. I'm pretty sure the fix is to prefix
error with erlang: can you try that and see if it compiles?
> 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