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

report more meaningful unexpected-type errors during decode

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: proton-j-0.33.6
    • Component/s: proton-j
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: