Skip to content

Make interpolation errors more user friendly#545

Merged
bors[bot] merged 1 commit intomainfrom
sv/twa-errors
Sep 29, 2022
Merged

Make interpolation errors more user friendly#545
bors[bot] merged 1 commit intomainfrom
sv/twa-errors

Conversation

@syvb
Copy link
Contributor

@syvb syvb commented Sep 27, 2022

Currently the error message for invalid interpolation bounds doesn't make it clear what the issue is, and doesn't say what the expected value is. This PR makes the bound checking assertions more clear

@syvb syvb requested a review from rtwalker September 29, 2022 15:27
Copy link
Contributor

@rtwalker rtwalker left a comment

Choose a reason for hiding this comment

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

LGTM! Might be worth dropping the github generated commit since it seems to be playing weirdly with our CI.

@syvb
Copy link
Contributor Author

syvb commented Sep 29, 2022

bors r+

bors bot added a commit that referenced this pull request Sep 29, 2022
545: Make interpolation errors more user friendly r=Smittyvb a=Smittyvb

Currently the error message for invalid interpolation bounds doesn't make it clear what the issue is, and doesn't say what the expected value is. This PR makes the bound checking assertions more clear

Co-authored-by: Smitty <smitty@timescale.com>
@bors
Copy link
Contributor

bors bot commented Sep 29, 2022

Build failed:

@syvb
Copy link
Contributor Author

syvb commented Sep 29, 2022

bors retry

@bors
Copy link
Contributor

bors bot commented Sep 29, 2022

@bors bors bot merged commit 3fcca9c into main Sep 29, 2022
@bors bors bot deleted the sv/twa-errors branch September 29, 2022 17:59
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