Переглянути джерело

Add newline to error_msg:error_report lines in crash.log, see #164

pull/197/head
Andrew Thompson 11 роки тому
джерело
коміт
92072c355e
1 змінених файлів з 1 додано та 1 видалено
  1. +1
    -1
      src/lager_crash_log.erl

+ 1
- 1
src/lager_crash_log.erl Переглянути файл

@ -188,7 +188,7 @@ do_log({log, Event}, #state{name=Name, fd=FD, inode=Inode, flap=Flap,
{error, _GL, {Pid1, Fmt, Args}} ->
{"ERROR REPORT", Pid1, limited_fmt(Fmt, Args, FmtMaxBytes), true};
{error_report, _GL, {Pid1, std_error, Rep}} ->
{"ERROR REPORT", Pid1, limited_str(Rep, FmtMaxBytes), true};
{"ERROR REPORT", Pid1, limited_str(Rep, FmtMaxBytes) ++ "\n", true};
{error_report, _GL, Other} ->
perhaps_a_sasl_report(error_report, Other, FmtMaxBytes);
_ ->

Завантаження…
Відмінити
Зберегти