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:
Michael Davis 2024-08-20 11:42:55 -04:00
parent 733ec1ec23
commit 9774d8d833
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -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.