Skip to content

Commit

Permalink
Fix #49, badmatch in trace_file/3
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Apr 20, 2012
1 parent 698c991 commit f4ebe1f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lager.erl
Expand Up @@ -134,7 +134,7 @@ trace_file(File, Filter, Level) ->
ok
end,
case Res of
{ok, _} ->
ok ->
%% install the trace.
{MinLevel, Traces} = lager_mochiglobal:get(loglevel),
case lists:member(Trace, Traces) of
Expand Down

0 comments on commit f4ebe1f

Please sign in to comment.