Make plugin/source error reporting a bit more useful
Metadata
Current evaluation
Merged PR snapcore/snapcraft#958 added the source value to invalid-handler errors, making “no handler to manage source” identify the unrecognized source.
Resolution: closed resolved
Reason: The diagnostic improvement was merged in commit 7059b900e via snapcore/snapcraft#958.
Evaluated by: mr-cal-bot
No scores available.
Issue body
Right now it says
'no handler to manage source'
It'd be nice if it said
'no handler to manage source (unrecognized://my_source)'
So this way you can see more clearly to which of your plugins it refers to
Evaluation history
| Date | Model | Scores | Action | Summary |
|---|---|---|---|---|
| stealth/space-bunny-alpha | — | closed resolved | Merged PR snapcore/snapcraft#958 added the source value to invalid-handler errors, making “no handler to manage source” identify the unrecognized source. | |
| stealth/space-bunny-alpha | — | closed resolved | Source errors now include the unrecognized source value. PR #958 was merged in commit 7059b900e, making plugin/source failures easier to diagnose. | |
| stealth/space-bunny-alpha | — | closed resolved | Merged PR #958 (commit 7059b900e), adding the offending source value to the “no handler to manage source” error for clearer diagnostics. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed as abandoned. The enhancement to include the unrecognized source URL in plugin error messages was never implemented or adopted. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation. The suggestion to append the unrecognized source URL to error messages was abandoned. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without action. The request to append the unrecognized source URL to error messages was never implemented or merged, leaving the original generic output unchanged. | |
| qwen/qwen3.6-35b-a3b | — | — | Closed without implementation due to prolonged inactivity. The enhancement to append the unrecognized source URL to error messages was not adopted. | |
| qwen3.6-35b-a3b-mtp-q6 | — | — | Abandoned. The enhancement to append the unrecognized source URL to error messages was not implemented or fixed. |
Update history
| Date | Change |
|---|---|
| created |
Related work
-
Likely Fixed By:
snapcore/snapcraft#958
(confidence 100%)
PR #958 is linked in the issue and was merged as commit 7059b900e.
Related issues
| Issue | Project | State | Summary | Similarity |
|---|---|---|---|---|
| #1499240 User friendly error missing when using go's source entry incorrectly | snapcraft (launchpad) | closed | Tracked to GitHub canonical/snapcraft#20 and closed by PR #97 (merge 7e6dc4b74, commit f15caeeb1), which added local-source support to the go plugin in snapcraft 0.5; maintainers noted the plugin now handles source-type projects differently. | |
| #2604 sources: introduce SnapcraftSourceNotFoundError | snapcraft | merged | Merged PR #2604 introduced clearer missing-source errors via SnapcraftSourceNotFoundError, exception chaining, and tests in commit 7527d0e82. | |
| #1929 sources: proper errors for invalid handlers | snapcraft | merged | Merged PR #1929 as 5defd5d5e, adding SnapcraftError-derived errors for unhandled source handlers and resolving LP #1741952. |