Skip to content

Instantly share code, notes, and snippets.

@saimonmoore
Created June 26, 2013 13:18
Show Gist options
  • Save saimonmoore/5867288 to your computer and use it in GitHub Desktop.
Save saimonmoore/5867288 to your computer and use it in GitHub Desktop.
Interesting tidbit:
Due to this line in ruby's Timeout module:
https://github.com/ruby/ruby/blob/v1_9_3_429/lib/timeout.rb#L84
If you use your own custom class, you don't get the original timeout exception backtrace.
This is probably a good thing.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment