[erlang-bugs] rpc:call hide throw

Vyacheslav Vorobyov vjache@REDACTED
Fri May 11 16:43:23 CEST 2012


Hello,

% 1. Good behavior
{badrpc,{'EXIT', some_reson }} = rpc:call(node(),erlang,exit,[some_reson]).

% 2. Bad behavior
some_reson = rpc:call(node(),erlang,throw,[some_reson]).

The second case describes an issue. It makes indistinguishable normal
result from exception.


-- 
Best Regargs,
     Vyacheslav



More information about the erlang-bugs mailing list