summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Sackman <matthew@rabbitmq.com>2011-06-22 13:09:39 +0100
committerMatthew Sackman <matthew@rabbitmq.com>2011-06-22 13:09:39 +0100
commit1c26a00f593606c5af6b09ff16f7e74c05393fdd (patch)
tree0acd26ddbdba74320e6907d1afac95f6bce9d694
parent4122451797d4ab8be585e42037819308f09acbee (diff)
downloadrabbitmq-server-1c26a00f593606c5af6b09ff16f7e74c05393fdd.tar.gz
Make an error more likely to be formatted sensibly
-rw-r--r--src/rabbit_amqqueue.erl2
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