[erlang-bugs] rpc:call hide throw
Vyacheslav Vorobyov
vjache@REDACTED
Sat May 12 22:53:43 CEST 2012
---------- Forwarded message ----------
From: Vyacheslav Vorobyov <vjache@REDACTED>
Date: 2012/5/11
Subject: rpc:call hide throw
To: erlang-bugs@REDACTED
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
--
Best Regargs,
Vyacheslav
More information about the erlang-bugs
mailing list