snap installer: capture error details when snap removal fails
Metadata
Current evaluation
Merged PR #214 via commit 12094e8, adding subprocess error details when snap removal fails.
Resolution: closed resolved
Reason: PR #214 was approved and merged as commit 12094e8, improving error reporting when the snap remove subprocess fails.
Evaluated by: mr-cal-bot
No scores available.
Issue body
- [X] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
-----
When the command `snap remove <snap>` fails, capture details from the subprocess call.
Note - this PR is blocked by failing linters. I will merge in the linter fixes from `hotfix/1.7` in the near future.
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #214 via commit 12094e8, adding subprocess error details when snap removal fails. | |
| qwen/qwen3.6-35b-a3b | — | closed resolved | Merged PR to capture subprocess error details when snap remove fails, improving error reporting in the snap installer. |
Update history
| Date | Change |
|---|---|
| created |
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #396 capture output of `snap` commands | craft-providers | closed | Fixed by merged PR #401 (commit d7aa4dc): snap subprocess output is captured and command-failure details are included in SnapInstallationError logs. |