Hello Nathan, thanks for raising this issue.

tl;dr yes docs are wrong.

The thing it should express is that this endpoint raises no *specific*
exceptions, but at any time unexpected exceptions may happen and will be
raised as UbuntuProError instances.

There is ongoing work to update this on the docs as part of [1]. More
specifically, there will be a message like [2] for all endpoints, which
reflects the truth.

[1] https://github.com/canonical/ubuntu-pro-client/pull/3085

[2] https://github.com/canonical/ubuntu-pro-
client/pull/3085/files#diff-e0d846a2fce3599317d4f913c5c9257ec46228952bfc3a16b8bb7e8074160a99R102-R109

** Changed in: ubuntu-advantage-tools (Ubuntu)
       Status: New => In Progress

** Changed in: ubuntu-advantage-tools (Ubuntu)
     Assignee: (unassigned) => Grant Orndorff (orndorffgrant)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2066920

Title:
  Exceptions raised if UA_CONFIG_FILE is bad

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-advantage-tools/+bug/2066920/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to