couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From beno...@apache.org
Subject [41/50] lager commit: updated refs/heads/import-master to da4419e
Date Thu, 13 Feb 2014 16:43:43 GMT
Add newline to error_msg:error_report lines in crash.log, see #164


Project: http://git-wip-us.apache.org/repos/asf/couchdb-lager/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-lager/commit/92072c35
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-lager/tree/92072c35
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-lager/diff/92072c35

Branch: refs/heads/import-master
Commit: 92072c355e019c8cd4b73ff9a4b989f7ac8f65ff
Parents: a718b89
Author: Andrew Thompson <andrew@hijacked.us>
Authored: Fri Feb 7 14:29:13 2014 -0500
Committer: Andrew Thompson <andrew@hijacked.us>
Committed: Fri Feb 7 14:29:13 2014 -0500

----------------------------------------------------------------------
 src/lager_crash_log.erl | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-lager/blob/92072c35/src/lager_crash_log.erl
----------------------------------------------------------------------
diff --git a/src/lager_crash_log.erl b/src/lager_crash_log.erl
index 089e32a..32e3728 100644
--- a/src/lager_crash_log.erl
+++ b/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);
         _ ->


Mime
View raw message