← Back to issue list

Add source name to error message

View original Github issue

Metadata

Project
snapcraft
Number
#958
Type
pull request
State
merged
Author
tsdgeos
Labels
Created
Updated
Closed

Current evaluation

Merged into master. The change improves debugging by appending the source name to the no handler to manage source error message. Approved by a reviewer and passing CI, the contribution was integrated.

Suggested action:

No scores available.

Issue body

"no handler to manage source (gdsr://src)" is a better error message than "no handler to manage source" since it makes easier to find out where the mistake is

Evaluation history

Date Model Scores Action Summary
qwen/qwen3.6-35b-a3b Merged into master. The change improves debugging by appending the source name to the no handler to manage source error message. Approved by a reviewer and passing CI, the contribution was integrated.
qwen3.6-35b-a3b-mtp-q6 Merged into master. Appends the source name to the generic handler error message for easier debugging. Approved by maintainer and passed code coverage checks prior to integration.
qwen3.6-35b-a3b-mtp-q6 Merged #958 to include the source name in error messages, improving debugging. Approved by maintainer @sergiusens with stable 95.83% code coverage.

Update history

No update history recorded yet.

Related issues

Issue Project State Summary Similarity
#322 sources: improve missing local source error message craft-parts merged Merged. Updates error handling to display a clear source not found message instead of a file copy error when a local source is missing. Approved by two reviewers, passed CI, and changed 17 lines across two files.
75%