Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files
remove twig references (again)
  • Loading branch information
rnewson committed Aug 29, 2014
1 parent 81483c1 commit ebb4f633f43e3b1938abed38a469784c542bde4a
Showing 1 changed file with 4 additions and 5 deletions.
@@ -48,7 +48,7 @@ init([]) ->
{ok, #st{}}.

handle_call(Msg, _From, State) ->
twig:log(notice, "~p received unknown call ~p", [?MODULE, Msg]),
couch_log:notice("~p received unknown call ~p", [?MODULE, Msg]),
{noreply, State}.

handle_cast({track, Pid, Name}, State) ->
@@ -57,14 +57,13 @@ handle_cast({track, Pid, Name}, State) ->
ets:insert(?MODULE, {Ref, Name}),
{noreply, State};
handle_cast(Msg, State) ->
twig:log(notice, "~p received unknown cast ~p", [?MODULE, Msg]),
couch_log:notice("~p received unknown cast ~p", [?MODULE, Msg]),
{noreply, State}.

handle_info({'DOWN', Ref, _, _, _}=Msg, State) ->
case ets:lookup(?MODULE, Ref) of
[] ->
twig:log(
notice,
couch_log:notice(
"~p received unknown exit; message was ~p", [?MODULE, Msg]
);
[{Ref, Name}] ->
@@ -73,7 +72,7 @@ handle_info({'DOWN', Ref, _, _, _}=Msg, State) ->
end,
{noreply, State};
handle_info(Msg, State) ->
twig:log(notice, "~p received unknown message ~p", [?MODULE, Msg]),
couch_log:notice("~p received unknown message ~p", [?MODULE, Msg]),
{noreply, State}.

terminate(_Reason, _State) ->

0 comments on commit ebb4f63

Please sign in to comment.