message for wiki message errors does not include how to fix them
Bug #1727490 reported by
Leo Arias
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Snapcraft |
Won't Fix
|
Low
|
Unassigned |
Bug Description
When trying to parse the wiki, but there's an error on one of the entries, the same exception is raised for all the possible errors:
- Missing key
- Origin missing
- Malformed yaml
- Parts missing
- Duplicate part
This exception only mentions the problem, but doesn't explain how to fix it. To add this information, we need to either split the exception, one for each case, or add a field for the information about the fix.
To post a comment you must log in.
Yeah splitting the exception into one for each case seems the best course of action to me.