reword constraint operator parsing error

This commit is contained in:
Alex Goodman 2020-07-08 14:54:59 -04:00
parent 7e4dad7c76
commit 25a24f0880
No known key found for this signature in database
GPG key ID: 86E2870463D5E890

View file

@ -35,7 +35,7 @@ func splitConstraintPhrase(phrase string) ([]constraintPart, error) {
for _, pair := range pairs {
op, err := ParseOperator(pair["operator"])
if err != nil {
return nil, fmt.Errorf("bad operator parse: %+v", err)
return nil, fmt.Errorf("unable to parse constraint operator: %+v", err)
}
result = append(result, constraintPart{
operator: op,