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

fizzy-bench: show more useful error messages #316

Merged
merged 1 commit into from
May 21, 2020
Merged

fizzy-bench: show more useful error messages #316

merged 1 commit into from
May 21, 2020

Conversation

axic
Copy link
Member

@axic axic commented May 16, 2020

No description provided.

}
else if (result.value)
return state.SkipWithError("Unexpected result");
return state.SkipWithError(("Unexpected result value: " + std::to_string(*result.value)).data());
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When I was adding the benchmark it was always frustrating getting the right values out. Not sure what is the nicest way to add error messages here.

Copy link
Collaborator

@chfast chfast left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea.

@chfast chfast marked this pull request as ready for review May 21, 2020 17:17
@chfast chfast self-requested a review May 21, 2020 17:18
@chfast chfast merged commit 7d4d980 into master May 21, 2020
@chfast chfast deleted the bench-errors branch May 21, 2020 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants