diff options
Diffstat (limited to 'src/rabbit_framing_channel.erl')
-rw-r--r-- | src/rabbit_framing_channel.erl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/rabbit_framing_channel.erl b/src/rabbit_framing_channel.erl index 060bed48..5c447792 100644 --- a/src/rabbit_framing_channel.erl +++ b/src/rabbit_framing_channel.erl @@ -95,13 +95,15 @@ collect_content(ChannelPid, MethodName) -> true -> rabbit_misc:protocol_error( command_invalid, - "expected content header for class ~w, got one for class ~w instead", + "expected content header for class ~w, " + "got one for class ~w instead", [ClassId, HeaderClassId]) end; _ -> rabbit_misc:protocol_error( command_invalid, - "expected content header for class ~w, got non content header frame instead", + "expected content header for class ~w, " + "got non content header frame instead", [ClassId]) end. |