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

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

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.7
    • Erlang - Library
    • None
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: