error, not exit bug23117
authorAlexandru Scvortov <alexandru@rabbitmq.com>
Tue Jul 26 14:25:22 2011 +0100 (2011-07-26)
branchbug23117
changeset 12737a3d92c9ce01
parent 1272 f30c309757db
child 1274 668abefd149d
error, not exit
src/amqp_direct_consumer.erl
     1.1 --- a/src/amqp_direct_consumer.erl	Tue Jul 26 12:32:45 2011 +0100
     1.2 +++ b/src/amqp_direct_consumer.erl	Tue Jul 26 14:25:22 2011 +0100
     1.3 @@ -84,7 +84,7 @@
     1.4  
     1.5  %% @private
     1.6  handle_info({'DOWN', _MRef, process, C, Info}, C) ->
     1.7 -    {stop, Info, C};
     1.8 +    {error, {consumer_died, Info}, C};
     1.9  handle_info({'DOWN', MRef, process, Pid, Info}, C) ->
    1.10      C ! {'DOWN', MRef, process, Pid, Info},
    1.11      {ok, C}.