Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Commit

Permalink
stable to default
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon MacMullen committed Oct 29, 2014
2 parents edca576 + 0859e55 commit d6db6ce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/amqp_direct_connection.erl
Expand Up @@ -74,8 +74,7 @@ handle_message({force_event_refresh, Ref}, State = #state{node = Node}) ->
{ok, State};
handle_message(closing_timeout, State = #state{closing_reason = Reason}) ->
{stop, {closing_timeout, Reason}, State};
handle_message({'DOWN', _MRef, process, _ConnSup, Reason},
State = #state{node = Node}) ->
handle_message({'DOWN', _MRef, process, _ConnSup, Reason}, State) ->
{stop, {remote_node_down, Reason}, State};
handle_message(Msg, State) ->
{stop, {unexpected_msg, Msg}, State}.
Expand Down

0 comments on commit d6db6ce

Please sign in to comment.