diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2011-06-22 13:09:39 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2011-06-22 13:09:39 +0100 |
commit | 1c26a00f593606c5af6b09ff16f7e74c05393fdd (patch) | |
tree | 0acd26ddbdba74320e6907d1afac95f6bce9d694 /src/rabbit_amqqueue.erl | |
parent | 4122451797d4ab8be585e42037819308f09acbee (diff) | |
download | rabbitmq-server-1c26a00f593606c5af6b09ff16f7e74c05393fdd.tar.gz |
Make an error more likely to be formatted sensibly
Diffstat (limited to 'src/rabbit_amqqueue.erl')
-rw-r--r-- | src/rabbit_amqqueue.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_amqqueue.erl b/src/rabbit_amqqueue.erl index 36701631..21e3721e 100644 --- a/src/rabbit_amqqueue.erl +++ b/src/rabbit_amqqueue.erl @@ -356,7 +356,7 @@ check_ha_policy_argument({longstr, <<"all">>}, _Args) -> check_ha_policy_argument({longstr, <<"nodes">>}, Args) -> case rabbit_misc:table_lookup(Args, <<"x-ha-policy-params">>) of undefined -> - {error, {require, <<"x-ha-policy-params">>}}; + {error, {require, 'x-ha-policy-params'}}; {array, Ary} -> case lists:all(fun ({longstr, _Node}) -> true; (_ ) -> false |