Skip to content

Commit 0410a1c

Browse files
committed
Fix logger translating process exit
1 parent b545a1e commit 0410a1c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/logger/lib/logger/translator.ex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,8 @@ defmodule Logger.Translator do
5454
{:ok, msg}
5555

5656
{'Error in process ' ++ _, [pid, {reason, stack}]} ->
57-
msg = ["Process ", inspect(pid), " raised an exception" |
58-
format(:error, reason, stack)]
57+
msg = ["Process ", inspect(pid), " raised an exception\n" |
58+
Exception.format(:error, reason, stack)]
5959
{:ok, msg}
6060

6161
_ ->

0 commit comments

Comments
 (0)