Uploaded image for project: 'Qpid'
  1. Qpid
  2. QPID-5836

[Python client] Report error when encountering unrecognized connection option

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 0.28
    • Fix Version/s: 0.29
    • Component/s: Python Client
    • Labels:
      None

      Description

      It would be valuable to report error when unrecognized connection option is provided to the connection object in Python client, like c++ client does.

      Currently unrecognized options are silently ignored when creating the connection, so user may for example set the mistyped connection options in the API doc, and won't be aware of that something went wrong.

      Steps to Reproduce:
      1. pass non-supported connection option to connection object
      2. no error/warning appears

      Actual results:
      unrecognized connection options are silently ignored

      Expected results:
      An error reported on encountering unrecognized connection option

        Attachments

          Activity

            People

            • Assignee:
              pmoravec Pavel Moravec
              Reporter:
              pmoravec Pavel Moravec
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: