Permalink
Browse files

Force ok = on lager calls.

  • Loading branch information...
1 parent 8c483d6 commit db1ed6e3fb237d6964ee038d904c48adee20414b @jlouis committed Oct 27, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 skel/x_srv.erl
View
6 skel/x_srv.erl
@@ -24,15 +24,15 @@ init([]) ->
{ok, #state{}}.
handle_call(Msg, _From, State) ->
- lager:error("Unknown call: ~p", [Msg]),
+ ok = lager:error("Unknown call: ~p", [Msg]),
{reply, {error, unknown}, State}.
handle_cast(Msg, State) ->
- lager:error("Unknown cast: ~p", [Msg]),
+ ok = lager:error("Unknown cast: ~p", [Msg]),
{noreply, State}.
handle_info(Msg, State) ->
- lager:error("Unknown handle_info: ~p", [Msg]),
+ ok = lager:error("Unknown handle_info: ~p", [Msg]),
{noreply, State}.
terminate(_Reason, _State) ->

0 comments on commit db1ed6e

Please sign in to comment.