Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1151

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

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: 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.

        Attachments

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

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: