From: Egor Kislitsyn Date: Fri, 6 Dec 2019 08:16:39 +0000 (+0700) Subject: Use Kernel.inspect/2 to print loaded custom modules X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=e4292cbfad47e59c76461fa201bab3e5f791962b;p=akkoma Use Kernel.inspect/2 to print loaded custom modules --- diff --git a/lib/pleroma/application.ex b/lib/pleroma/application.ex index 9d2f3f320..17f6b9c80 100644 --- a/lib/pleroma/application.ex +++ b/lib/pleroma/application.ex @@ -82,8 +82,7 @@ defmodule Pleroma.Application do {:ok, modules, _warnings} -> Enum.each(modules, fn mod -> - name = mod |> Atom.to_string() |> String.trim_leading("Elixir.") - IO.puts("Custom module loaded: #{name}") + IO.puts("Custom module loaded: #{inspect(mod)}") end) :ok