Skip to content

Commit a3556d9

Browse files
Merge pull request #2233 from Ayanda-D/handle-absent-alive-queues
Handle and raise protocol error for absent queues assumed to be alive (cherry picked from commit 8b9b87c)
1 parent accf6f4 commit a3556d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/rabbit_amqqueue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -770,7 +770,7 @@ priv_absent(QueueName, _QPid, _IsDurable, timeout) ->
770770
priv_absent(QueueName, QPid, _IsDurable, alive) ->
771771
rabbit_misc:protocol_error(
772772
not_found,
773-
"failed to perform operation on ~s: its master replica ~s may be stopping or being demoted",
773+
"failed to perform operation on ~s: its master replica ~w may be stopping or being demoted",
774774
[rabbit_misc:rs(QueueName), QPid]).
775775

776776
-spec assert_equivalence

0 commit comments

Comments
 (0)