summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_reader.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 407ae67fd1..cd920d50fb 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -615,7 +615,9 @@ create_channel(Channel, State) ->
case ChannelMax /= 0 andalso N + 1 > ChannelMax of
true ->
rabbit_misc:protocol_error(
- not_allowed, "number of channels opened (~w) has reached the negotiated channel_max (~w)",
+ not_allowed,
+ "number of channels opened (~w) has reached "
+ ++ "the negotiated channel_max (~w)",
[N, ChannelMax], 'none');
false ->
{ok, _ChSupPid, {ChPid, AState}} =