mirror of
https://git.youjo.love/youjo/youjo-be.git
synced 2024-11-20 13:59:55 +01:00
Use Kernel.inspect/2 to print loaded custom modules
This commit is contained in:
parent
157bceeda9
commit
e4292cbfad
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue