summaryrefslogtreecommitdiff
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-08-24 20:14:30 +0300
commita0d25e0d9c48d2dcc613584f445f3fb4e6e7ea6d (patch)
tree53d085691f7bc5dc54cb8592001e6bb2b50b0741
parentfda05d2c0d486d897bc11e0af57d11f19392e4b1 (diff)
downloadrabbitmq-server-git-a0d25e0d9c48d2dcc613584f445f3fb4e6e7ea6d.tar.gz
Make formatting of user channel-limit exceeded consistent
-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 60ff3908b5..4d181c234c 100644
--- a/src/rabbit_direct.erl
+++ b/src/rabbit_direct.erl
@@ -220,8 +220,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.