diff options
| author | Matthias Radestock <matthias@rabbitmq.com> | 2012-07-15 16:20:34 +0100 |
|---|---|---|
| committer | Matthias Radestock <matthias@rabbitmq.com> | 2012-07-15 16:20:34 +0100 |
| commit | 0cca4ec86a18b562bdf709e410379a5531c44722 (patch) | |
| tree | 22d0cad7f2bdd54acd2a5969a1f6804e5fd4a2ee /src | |
| parent | ba1f5823f8c3b5879b2d25d5c0286e29d8c4b298 (diff) | |
| download | rabbitmq-server-git-0cca4ec86a18b562bdf709e410379a5531c44722.tar.gz | |
call the correct function
oops
Diffstat (limited to 'src')
| -rw-r--r-- | src/rabbit_channel.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rabbit_channel.erl b/src/rabbit_channel.erl index 1bcdcceeb6..864e100afc 100644 --- a/src/rabbit_channel.erl +++ b/src/rabbit_channel.erl @@ -421,7 +421,7 @@ handle_exception(Reason, State = #ch{protocol = Protocol, precondition_failed(Format) -> precondition_failed(Format, []). precondition_failed(Format, Params) -> - rabbit_misc:amqp_error(precondition_failed, Format, Params). + rabbit_misc:protocol_error(precondition_failed, Format, Params). return_queue_declare_ok(#resource{name = ActualName}, NoWait, MessageCount, ConsumerCount, State) -> |
