Skip to content

Commit

Permalink
Bugfix. Handle {nodedown, _Node} case when tring to install handler.
Browse files Browse the repository at this point in the history
  • Loading branch information
vjache committed Jan 9, 2012
1 parent 1f8c7f6 commit 52262af
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/logmachine_emlocator_srv.erl
Expand Up @@ -111,7 +111,8 @@ install_event_handlers(Node, EventManagerName, InstanceName) ->
{HandlerModule, node()}, % Handler
logmachine_receiver_srv:get_global_alias(InstanceName)) % Args
catch _: noproc ->
logmachine_util:send_after({5, sec}, {retry, Node})
logmachine_util:send_after({5, sec}, {retry, Node});
_: {nodedown, _Node} -> ok
end.

upload_module(Node, _Mod) when Node==node() ->
Expand Down

0 comments on commit 52262af

Please sign in to comment.