Browse Source

Use Kernel.inspect/2 to print loaded custom modules

chore/benchmark-dedicated-db
Egor Kislitsyn 4 years ago
parent
commit
e4292cbfad
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      lib/pleroma/application.ex

+ 1
- 2
lib/pleroma/application.ex View File

@@ -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…
Cancel
Save