mirror of
https://github.com/ruby/ruby.git
synced 2026-01-27 20:44:20 +00:00
[Bug #21211] Socket errors raised from background threads are hard to track down because their backtrace starts from the spawned thread. To solve this we can raise a new error with the old one as `cause`.