diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2011-11-24 17:09:05 +0000 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2011-11-24 17:09:05 +0000 |
commit | 586eab144380932dbcae787fdc4dc94c85605162 (patch) | |
tree | 4d0f6ff546f35b70b07924364140a0800db0e0ee /src | |
parent | d40f4265caf61dd405f37313dfe8817feb66b150 (diff) | |
download | rabbitmq-server-586eab144380932dbcae787fdc4dc94c85605162.tar.gz |
Handle RPCs that crash better.
Diffstat (limited to 'src')
-rw-r--r-- | src/rabbit_control.erl | 2 |
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}} -> |