Provide more specific value parsing errors

Review Request #2283 - Created May 28, 2015 and submitted

Information
Jessica Rosenfield
pants
jessrosenfield/parsing
1249, 1604
332d8c8...
Reviewers
pants-reviews
areitz, benjyw, jsirois, zundel
Provide more specific value parsing errors

Travis CI build green https://travis-ci.org/pantsbuild/pants/builds/64502793

~/Src/pants ./pants publish examples/src/thrift/org/pantsbuild/example/distance:distance-java --publish-jar-restrict-push-branches='foo/bar'

throws

Exception message: Error while parsing option value foo/bar: Value cannot be evaluated as an expression: name 'foo' is not defined
1: foo/bar
Acceptable types: list, tuple

instead of

Exception message: Error while parsing option value foo/bar: Value cannot be evaluated: name 'foo' is not defined
1: foo/bar

as a resolution to http://github.com/pantsbuild/pants/issues#issue/1249

Issues

  • 0
  • 1
  • 0
  • 1
Description From Last Updated
John Sirois
Eric Ayers
Jessica Rosenfield
Jessica Rosenfield
John Sirois
Eric Ayers
Jessica Rosenfield
John Sirois
Andy Reitz
Jessica Rosenfield
Eric Ayers
Jessica Rosenfield
Review request changed

Status: Closed (submitted)

Change Summary:

dfc25b1

Loading...