summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rabbit_reader.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_reader.erl b/src/rabbit_reader.erl
index 00ff4b1963..4e268f4503 100644
--- a/src/rabbit_reader.erl
+++ b/src/rabbit_reader.erl
@@ -618,7 +618,7 @@ create_channel(Channel, State) ->
%% only for the methods on channel 0.
AmqpError = rabbit_misc:amqp_error(
not_allowed, "number of channels opened (~w) has reached the negotiated channel_max (~w)",
- [N, ChannelMax], 'channel.open'),
+ [N, ChannelMax], 'none'),
throw({error, AmqpError});
false ->
{ok, _ChSupPid, {ChPid, AState}} =