| author | Alexandru Scvortov <alexandru@rabbitmq.com> |
| Tue Jul 26 14:25:22 2011 +0100 (23 months ago) | |
| branch | bug23117 |
| changeset 1273 | 7a3d92c9ce01 |
| parent 1272 | f30c309757db |
| child 1274 | 668abefd149d |
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}.