summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2010-07-28 12:59:07 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2010-07-28 12:59:07 +0100
commit6b29a9980bd5ad0ed6cb92910ac9aed21b1a25c1 (patch)
tree25e8d45886dc197ceeb1b0deb71b883a6ec38b43
parent9058c6095bf810ad225601d83ba540140c9cc3c9 (diff)
downloadrabbitmq-server-6b29a9980bd5ad0ed6cb92910ac9aed21b1a25c1.tar.gz
issue correct error for basic.ack with unknown delivery tagbug23028
as per the 0-9-1 spec
-rw-r--r--src/rabbit_channel.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl
index c4db3ace..dafc3075 100644
--- a/src/rabbit_channel.erl
+++ b/src/rabbit_channel.erl
@@ -967,7 +967,7 @@ collect_acks(ToAcc, PrefixAcc, Q, DeliveryTag, Multiple) ->
end;
{empty, _} ->
rabbit_misc:protocol_error(
- not_found, "unknown delivery tag ~w", [DeliveryTag])
+ precondition_failed, "unknown delivery tag ~w", [DeliveryTag])
end.
add_tx_participants(MoreP, State = #ch{tx_participants = Participants}) ->