Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error messages printed non-uniformly #79

Open
osa1 opened this issue Feb 14, 2015 · 0 comments
Open

Error messages printed non-uniformly #79

osa1 opened this issue Feb 14, 2015 · 0 comments

Comments

@osa1
Copy link
Member

osa1 commented Feb 14, 2015

If I give hsbencher-graph an invalid key, it's printing a very helpful error message listing all the available columns in the CSV:

➜  tests git:(master) ../.cabal-sandbox/bin/hsbencher-graph get-latest.csv -x variant -y mediantime -k progname
hsbencher-graph: Keys ["progname"] were not all found in schema: ["PROGNAME","VARIANT","ARGS","THREADS","MEDIANTIME","GIT_DEPTH"]

However if I give it an invalid x or y name, it's printing the error message in different format, not as helpful as previous error message:

➜  tests git:(master) ../.cabal-sandbox/bin/hsbencher-graph get-latest.csv -x variant -y mediantime -k PROGNAME
hsbencher-graph: "variant" is not present in csv.
@osa1 osa1 changed the title Error messages printing non-uniformly Error messages printed non-uniformly Feb 14, 2015
@osa1 osa1 self-assigned this Feb 14, 2015
@osa1 osa1 removed their assignment Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant