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

Handle invalid requests and make asHumanHz a bit more robust #201

Merged
merged 2 commits into from
May 4, 2024

Conversation

smarr
Copy link
Owner

@smarr smarr commented May 4, 2024

The rebench.dev errors logs show some invalid requests, which are now hopefully rejected earlier.
It also shows some issue in rendering a template because of an issue in asHumanHz where h.toFixed is not a function. I assume that's because h is of a wrong type somehow.

smarr added 2 commits May 4, 2024 11:24
Signed-off-by: Stefan Marr <git@stefan-marr.de>
I am seeing a strange error in the logs, and can’t explain it otherwise, because there’s a test for asHumanHz(0).

Signed-off-by: Stefan Marr <git@stefan-marr.de>
@smarr smarr added the bug Something isn't working label May 4, 2024
@smarr smarr merged commit f4413cd into master May 4, 2024
2 checks passed
@smarr smarr deleted the handle-invalid-requests branch May 4, 2024 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant