Skip to content

Commit

Permalink
Revert "fix return value in amqp_gen_consumer"
Browse files Browse the repository at this point in the history
This reverts commit 7195c30.
  • Loading branch information
jlouis committed Feb 5, 2013
1 parent aed90b6 commit 48acd2c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/amqp_gen_consumer.erl
Expand Up @@ -204,10 +204,8 @@ handle_call({consumer_call, Msg}, From,
{noreply, State#state{module_state = NewMState}}; {noreply, State#state{module_state = NewMState}};
{reply, Reply, NewMState} -> {reply, Reply, NewMState} ->
{reply, Reply, State#state{module_state = NewMState}}; {reply, Reply, State#state{module_state = NewMState}};
{error, {consumer_died, Reason}, NewMState} ->
{stop, Reason, State#state{module_state = NewMState}};
{error, Reason, NewMState} -> {error, Reason, NewMState} ->
{stop, {error, Reason}, {stop, {error, Reason}, {error, Reason},
State#state{module_state = NewMState}} State#state{module_state = NewMState}}
end; end;
handle_call({consumer_call, Method, Args}, _From, handle_call({consumer_call, Method, Args}, _From,
Expand Down

0 comments on commit 48acd2c

Please sign in to comment.