Some errors are not returned as erlang term when they use exceptions. This crashes at erlang: term_to_binary. But instead of failing fast and report, acceptor is still at waiting for data from spawned process until timeout per setting, and will report error as timeout to original caller.
This confuses the original caller as what to fix and also has a cascading effect.
See pull request https://github.com/priestjim/gen_rpc/pull/9
Some errors are not returned as erlang term when they use exceptions. This crashes at erlang: term_to_binary. But instead of failing fast and report, acceptor is still at waiting for data from spawned process until timeout per setting, and will report error as timeout to original caller.
This confuses the original caller as what to fix and also has a cascading effect.