Thrift
  1. Thrift
  2. THRIFT-1151

Produce more informative runtime error in case of schema and data mismatch during serialization

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.7
    • Component/s: Erlang - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      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.

      1. diff.txt
        0.6 kB
        Anatoly Kanivetsky
      2. thrift-1151.patch
        0.6 kB
        Anthony Molinaro

        Activity

          People

          • Assignee:
            Anthony Molinaro
            Reporter:
            Anatoly Kanivetsky
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development