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

fix: update error text for consistency #528

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

fredden
Copy link

@fredden fredden commented Jul 17, 2023

This is a follow-up to #492 where an inconsistency was introduced. When triggering these error messages, if the value should be rounded up, then the value in the error message won't match the value being checked. Given we're talking about fractions of a second, this shouldn't cause any real-world impact. This inconsistency may make debugging edge cases difficult, leading to confusion. This confusion may lead do setting too much leeway in timing settings.

When these errors are triggered, the value being validated may be different
from the value reported in the error message. This fixes that inconsistency.
@bshaffer bshaffer changed the title Update error text for consistency fix: update error text for consistency Jan 22, 2024
@bshaffer bshaffer enabled auto-merge (squash) January 22, 2024 16:45
auto-merge was automatically disabled January 29, 2024 23:11

Head branch was pushed to by a user without write access

@fredden fredden requested a review from bshaffer January 29, 2024 23:12
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.

None yet

2 participants