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.
This commit is contained in:
parent
733ec1ec23
commit
9774d8d833
|
|
@ -219,7 +219,7 @@ delete(Q, _IfUnused, _IfEmpty, ActingUser) ->
|
|||
{ok, Reply} ->
|
||||
Reply;
|
||||
Error ->
|
||||
{protocol_error, internal_error, "Cannot delete queue '~ts' on node '~ts': ~255p ",
|
||||
{protocol_error, internal_error, "Cannot delete ~ts on node '~ts': ~255p ",
|
||||
[rabbit_misc:rs(amqqueue:get_name(Q)), node(), Error]}
|
||||
end.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue