projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
157bcee
)
Use Kernel.inspect/2 to print loaded custom modules
author
Egor Kislitsyn
<egor@kislitsyn.com>
Fri, 6 Dec 2019 08:16:39 +0000
(15:16 +0700)
committer
Egor Kislitsyn
<egor@kislitsyn.com>
Fri, 6 Dec 2019 08:16:39 +0000
(15:16 +0700)
lib/pleroma/application.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/application.ex
b/lib/pleroma/application.ex
index 9d2f3f3205cf53771438f75663be60026eec0fde..17f6b9c8038a8558de6c65bba6353fd04ec7e163 100644
(file)
--- 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