errros: add a specific error when running commands from plugins
Metadata
Current evaluation
Merged PR #2004 in commit 2308ee4e0, adding dedicated SnapcraftError handling for plugin-command failures instead of exposing an unhandled traceback.
Resolution: closed resolved
Reason: The approved PR was merged as commit 2308ee4e0. It resolves Launchpad bug #1753965 by reporting plugin command failures through SnapcraftError handling.
Evaluated by: mr-cal-bot
No scores available.
Issue body
When a plugin fails a horrible traceback is printed because there is no
SnapcraftError class handling the situation.
LP: #1753965
Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
- [x] Have you followed the [guidelines for contributing](https://github.com/snapcore/snapcraft/blob/master/CONTRIBUTING.md)?
- [x] Have you signed the [CLA](http://www.ubuntu.com/legal/contributors/)?
- [x] If this is a bugfix. Have you checked that there is a bug report open for the issue you are trying to fix on [bug reports](https://bugs.launchpad.net/snapcraft)?
- [x] If this is a new feature. Have you discussed the design on the [forum](https://forum.snapcraft.io)?
- [x] Have you successfully run `./runtests.sh static`?
- [x] Have you successfully run `./runtests.sh unit`?
-----
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2004 in commit 2308ee4e0, adding dedicated SnapcraftError handling for plugin-command failures instead of exposing an unhandled traceback. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #2004 (commit 2308ee4e0) added dedicated SnapcraftError handling for plugin-command failures, replacing unhandled tracebacks with a clear error. | |
| qwen/qwen3.6-35b-a3b | — | — | Merged fix adding a specific SnapcraftError class to handle plugin command failures, preventing unhandled tracebacks. Approved by reviewer, passed CI, and resolved Launchpad bug #1753965. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Merged. Introduced a SnapcraftError class to handle plugin command failures, preventing unhandled tracebacks and resolving Launchpad bug #1753965. |
Update history
No update history recorded yet.
Related issues
No related issues found above the similarity threshold.