← Back to issue list

errors: expose the StoreServerError cause from the returned json (CRAFT-582)

View original Github issue

Metadata

Project
craft-store
Number
#12
Type
pull request
State
merged
Author
sergiusens
Labels
Created
Updated
Closed

Current evaluation

Exposed the StoreServerError cause from returned JSON. Merged after approval and passing CI checks. Modified three files (+135/-9 lines) to resolve CRAFT-582.

Suggested action:

No scores available.

Issue body

Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com> ------- - [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)? -----

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Exposed the StoreServerError cause from returned JSON. Merged after approval and passing CI checks. Modified three files (+135/-9 lines) to resolve CRAFT-582.
qwen3.6-35b-a3b-mtp-q6 Merged. The change exposes the StoreServerError cause from returned JSON responses, resolving CRAFT-582. Integrated by maintainer sergiusens without additional discussion.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#591 Revisited all error usage to adapt to new craft-cli context. charmcraft merged Merged after approval and CI. Updated error handling for craft-cli by using from err for subprocess errors, adding details attributes, adjusting Store return codes, and transforming StoreServerError. Changed 8 files.
74%
#670 errors: catch all CraftStoreErrors (CRAFT-813) charmcraft merged Merged. Catches all CraftStoreErrors during craft_store library initialization. Approved by one reviewer with passing CI checks across 5 files (+35/-30).
72%