Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Revert "fix return value in amqp_gen_consumer"

This reverts commit 7195c30.
  • Loading branch information...
commit 48acd2c08f08569ff069b16abfdb7062e1fe473f 1 parent aed90b6
@jlouis jlouis authored
Showing with 1 addition and 3 deletions.
  1. +1 −3 src/amqp_gen_consumer.erl
View
4 src/amqp_gen_consumer.erl
@@ -204,10 +204,8 @@ handle_call({consumer_call, Msg}, From,
{noreply, State#state{module_state = NewMState}};
{reply, Reply, NewMState} ->
{reply, Reply, State#state{module_state = NewMState}};
- {error, {consumer_died, Reason}, NewMState} ->
- {stop, Reason, State#state{module_state = NewMState}};
{error, Reason, NewMState} ->
- {stop, {error, Reason},
+ {stop, {error, Reason}, {error, Reason},
State#state{module_state = NewMState}}
end;
handle_call({consumer_call, Method, Args}, _From,
Please sign in to comment.
Something went wrong with that request. Please try again.