summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2012-12-10 18:09:45 +0000
committerSimon MacMullen <simon@rabbitmq.com>2012-12-10 18:09:45 +0000
commit79c8fc4161be23a8363201b879edc6766aac6a9d (patch)
treea4df45669520aecca254a132b43fea7b5fa2c61b
parent9377b5623f1e8fff956b204112982d0ae0aedb25 (diff)
downloadrabbitmq-server-bug25351.tar.gz
Those catches do no really do anything.bug25351
-rw-r--r--src/rabbit_vm.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_vm.erl b/src/rabbit_vm.erl
index 62feca79..db674f91 100644
--- a/src/rabbit_vm.erl
+++ b/src/rabbit_vm.erl
@@ -127,9 +127,9 @@ plugin_memory() ->
is_plugin(atom_to_list(App))]).
plugin_memory(App) ->
- case catch application_controller:get_master(App) of
+ case application_controller:get_master(App) of
undefined -> 0;
- Master -> case catch application_master:get_child(Master) of
+ Master -> case application_master:get_child(Master) of
{Pid, _} when is_pid(Pid) -> sup_memory(Pid);
Pid when is_pid(Pid) -> sup_memory(Pid);
_ -> 0