Skip to content

Commit 94f112c

Browse files
the-mikedavismergify[bot]
authored andcommitted
minor: Use rabbit_misc:rs/1 formatting for stream delete failure msg
`rabbit_misc:rs/1` formats a string "queue {name} in vhost {vhost}" so the "queue" and single quotes in the prior message can be removed. (cherry picked from commit 9774d8d)
1 parent 7aef123 commit 94f112c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deps/rabbit/src/rabbit_stream_queue.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ delete(Q, _IfUnused, _IfEmpty, ActingUser) ->
219219
{ok, Reply} ->
220220
Reply;
221221
Error ->
222-
{protocol_error, internal_error, "Cannot delete queue '~ts' on node '~ts': ~255p ",
222+
{protocol_error, internal_error, "Cannot delete ~ts on node '~ts': ~255p ",
223223
[rabbit_misc:rs(amqqueue:get_name(Q)), node(), Error]}
224224
end.
225225

0 commit comments

Comments
 (0)