erlang/otp — pull request #245 by garret-smith (2014-02-21 18:35:15+00:00)
Title: Include the cause when raising a new IOException

I get a "Cannot connect to peer node" exception occasionally, but I haven't been able to figure out the root cause. Searching the list, others have had similar problems. This patch should make the reason for the exception clearer.