MoreImportantError does not describe what happens errors have equal importance
Bug #1811636 reported by
Tim McNamara
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
cmd/jujud/
// MoreImportantError returns the most important error
func MoreImportantEr
if importance(err0) > importance(err1) {
return err0
}
return err1
}
This behaviour may be intentional, but should be made explicit in the function's documentation.
Changed in juju: | |
status: | New → Triaged |
importance: | Undecided → Medium |
To post a comment you must log in.
This bug has not been updated in 2 years, so we're marking it Low importance. If you believe this is incorrect, please update the importance.