Merge ~twom/snapstore-client:better-user-feedback into snapstore-client:master
Proposed by
Tom Wardill
Status: | Merged |
---|---|
Approved by: | Tom Wardill |
Approved revision: | 94b4dd89e0dbc7363823100f1fd79c2c28c1f7ea |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~twom/snapstore-client:better-user-feedback |
Merge into: | snapstore-client:master |
Diff against target: |
163 lines (+54/-9) 5 files modified
snapstore (+10/-3) snapstore_client/exceptions.py (+16/-0) snapstore_client/logic/login.py (+7/-1) snapstore_client/logic/overrides.py (+9/-3) snapstore_client/webservices.py (+12/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Simon Davy (community) | Approve | ||
Review via email: mp+342298@code.launchpad.net |
Commit message
Add better user feedback for error conditions
Description of the change
Log more useful errors with user suggestions (such as not being an admin).
Catch other exceptions and prevent traceback printing, replace with a useful message.
To post a comment you must log in.
LGTM