Repository navigation
added the check for negative sec - #51
Conversation
|
Thanks for the PR, could you add tests for this? |
…r and added tests
…r and added tests
|
Could you also update the docs? |
jeremyevans
left a comment
There was a problem hiding this comment.
Thank you for working on this. I agree we should raise for negative numbers, as you can make the argument that the timeout has already expired. It's arguable whether we should raise Timeout::Error (or klass) in this case, instead of ArgumentError, but I'm not opposed to using ArgumentError. I do have a couple inline requests for changes.
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
Co-authored-by: Jeremy Evans <code@jeremyevans.net>
|
Sorry I missed approving this a few days ago. Thanks for the reminder! |
|
@eregon whenever you find time, I’d greatly appreciate your review on the updated changes, thank you for your guidance! |
|
LGTM, thanks for the review @jeremyevans |
Potential issues with current behaviour:
I suggest this change for the consistent behaviour regardless of code-block as well as the clear indication of the source of the error