-
Notifications
You must be signed in to change notification settings - Fork 8
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: bug in create pin group, replace logger.error with raise Value e… #967
Conversation
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #967 +/- ##
=======================================
Coverage 82.68% 82.68%
=======================================
Files 160 160
Lines 21098 21098
=======================================
+ Hits 17444 17445 +1
+ Misses 3654 3653 -1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM but I would raise RuntimeError
instead.
Raising ValueError
is dedicated to cases where """operation or function receives an argument that has the right type but an inappropriate value""". Here, that's not the case :)
Co-authored-by: Sébastien Morais <[email protected]>
Co-authored-by: Sébastien Morais <[email protected]>
Co-authored-by: Sébastien Morais <[email protected]>
…rror