summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAyanda-D <ayanda.dube@erlang-solutions.com>2020-06-11 10:28:00 +0100
committerMichael Klishin <michael@clojurewerkz.org>2020-09-02 04:28:59 +0300
commite51d96300ddafad6bb7b1e497c5940b6cdf2e596 (patch)
treee4cbd69674bb1dfc25f248f7ae22cd948f21172d /src
parentb7d6051a7c8d75f75d17c39133aab4e01f1d5c50 (diff)
downloadrabbitmq-server-git-e51d96300ddafad6bb7b1e497c5940b6cdf2e596.tar.gz
Make formatting of user channel-limit exceeded consistent
Diffstat (limited to 'src')
-rw-r--r--src/rabbit_direct.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_direct.erl b/src/rabbit_direct.erl
index b5f068cbee..c6922f495c 100644
--- a/src/rabbit_direct.erl
+++ b/src/rabbit_direct.erl
@@ -222,8 +222,8 @@ start_channel(Number, ClientChannelPid, ConnPid, ConnName, Protocol,
{true, Limit} ->
rabbit_log_connection:error(
"Error on Direct connection ~p~n"
- "number of channels opened for user (~w) has reached the "
- "maximum allowed limit of (~w)",
+ "number of channels opened for user (~s) has reached the "
+ "maximum allowed limit of (~p)",
[ConnPid, Username, Limit]),
{error, not_allowed}
end.