summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2011-11-24 17:09:05 +0000
committerSimon MacMullen <simon@rabbitmq.com>2011-11-24 17:09:05 +0000
commit586eab144380932dbcae787fdc4dc94c85605162 (patch)
tree4d0f6ff546f35b70b07924364140a0800db0e0ee /src
parentd40f4265caf61dd405f37313dfe8817feb66b150 (diff)
downloadrabbitmq-server-586eab144380932dbcae787fdc4dc94c85605162.tar.gz
Handle RPCs that crash better.
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_control.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl
index 6e57b1ba..2858e55c 100644
--- a/src/rabbit_control.erl
+++ b/src/rabbit_control.erl
@@ -374,7 +374,7 @@ action(eval, Node, [Expr], _Opts, _Inform) ->
{ok, Scanned, _} = erl_scan:string(Expr),
case erl_parse:parse_exprs(Scanned) of
{ok, Parsed} ->
- {value, Value, _} = rpc_call(Node, erl_eval, exprs, [Parsed, []]),
+ {value, Value, _} = unsafe_rpc(Node, erl_eval, exprs, [Parsed, []]),
io:format("~p~n", [Value]),
ok;
{error, {1, erl_parse, Err}} ->