瀏覽代碼

Valid case statement

pull/305/head
Daniil Fedotov 9 年之前
父節點
當前提交
4b9b21ce64
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/error_logger_lager_h.erl

+ 1
- 1
src/error_logger_lager_h.erl 查看文件

@ -131,7 +131,7 @@ log_event(Event, #state{sink=Sink} = State) ->
case Event of
{error, _GL, {Pid, Fmt, Args}} ->
FormatRaw = application:get_env(lager, error_logger_format_raw, false),
case Fmt of
case {FormatRaw, Fmt} of
{false, "** Generic server "++_} ->
%% gen_server terminate
[Name, _Msg, _State, Reason] = Args,

Loading…
取消
儲存