Skip to content

Commit

Permalink
remove superfluous and buggy logging formatter piece
Browse files Browse the repository at this point in the history
  • Loading branch information
breunigs committed Oct 19, 2024
1 parent 573823b commit 6f2ac24
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions lib/log_formatter.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,6 @@ defmodule LogFormatter do
message,
?\n
]
|> Enum.reduce([], fn
x, acc when is_binary(x) -> [String.to_charlist(x) | acc]
x, acc when is_list(x) -> Enum.reverse(x) ++ acc
x, acc -> [x | acc]
end)
|> Enum.reverse()
rescue
e ->
error = Exception.format(:error, e, __STACKTRACE__)
Expand Down

0 comments on commit 6f2ac24

Please sign in to comment.