diff options
author | Matthias Radestock <matthias@lshift.net> | 2008-12-10 11:22:14 +0000 |
---|---|---|
committer | Matthias Radestock <matthias@lshift.net> | 2008-12-10 11:22:14 +0000 |
commit | 07ccc810d5a92db7ccf059a41d38596d036b3698 (patch) | |
tree | c3ce760b10f30163c7136530a7b37c1e6935af7e | |
parent | de68e6a77e5e0c52c9a028f93db0087cc77ab769 (diff) | |
download | rabbitmq-server-07ccc810d5a92db7ccf059a41d38596d036b3698.tar.gz |
correct error handling
-rw-r--r-- | src/rabbit_control.erl | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rabbit_control.erl b/src/rabbit_control.erl index 4527b668..bc338798 100644 --- a/src/rabbit_control.erl +++ b/src/rabbit_control.erl @@ -298,7 +298,10 @@ display_info_list(Results, InfoItemArgs) when is_list(Results) -> io:nl() end, Results), - ok. + ok; + +display_info_list(Other, _) -> + Other. display_list(L) when is_list(L) -> lists:foreach(fun (I) -> |