Skip to content

RUBY-1999 Always raise timeout exceptions with the custom message. #1846

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

Merged
merged 1 commit into from
Apr 6, 2020

Conversation

p-mongo
Copy link
Contributor

@p-mongo p-mongo commented Apr 4, 2020

Previously on Ruby 2.3 the custom timeout message was ignored.

This commit reraises the exception raised by core Timeout library
with the custom message provided by the user, so that on all
Ruby versions the custom message is utilized.
@p-mongo p-mongo requested a review from egiurleo April 5, 2020 20:36
@p-mongo p-mongo merged commit 3ec9c42 into mongodb:master Apr 6, 2020
p-mongo pushed a commit to p-mongo/mongo-ruby-driver that referenced this pull request Apr 6, 2020
* master:
  RUBY-1999 provisioning and tooling changes to support testing ecs in evergreen (mongodb#1848)
  RUBY-1999 add default route to vpc setup (mongodb#1847)
  RUBY-1999 Always raise timeout exceptions with the custom message. (mongodb#1846)
  RUBY-1552 Document Ruby Kerberos usage (mongodb#1845)
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.

3 participants