Uploaded image for project: 'Qpid Proton'
  1. Qpid Proton
  2. PROTON-2236

report more meaningful unexpected-type errors during decode

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • None
    • proton-j-0.33.6
    • proton-j
    • None

    Description

      While decoding a message containing a non-string application-properties key (eg a symbol key), then the following message is seen:

      Error on transform: Expected String type but found encoding: -93

      which is not very intuitive. Perhaps converting the type to hex and providing a stringified version would be better, such as:

      Expected String type but found encoding 0xb3 (symbol)

      Attachments

        Activity

          People

            Unassigned Unassigned
            kpvdr Kim van der Riet
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: