projects
/
akkoma
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
edaae84
)
Object: Use inspect to log missing preload.
author
lain
<lain@soykaf.club>
Thu, 21 Nov 2019 13:03:01 +0000
(14:03 +0100)
committer
lain
<lain@soykaf.club>
Thu, 21 Nov 2019 13:03:01 +0000
(14:03 +0100)
lib/pleroma/object.ex
patch
|
blob
|
history
diff --git
a/lib/pleroma/object.ex
b/lib/pleroma/object.ex
index d9b41d710cebb6296a3b2d4cb41521feb2c27030..cde0eddd9e8d72267f4522d5c825d87a50db1a23 100644
(file)
--- a/
lib/pleroma/object.ex
+++ b/
lib/pleroma/object.ex
@@
-63,7
+63,7
@@
defmodule Pleroma.Object do
end
defp warn_on_no_object_preloaded(ap_id) do
- "Object.normalize() called without preloaded object (#{
ap_id
}). Consider preloading the object"
+ "Object.normalize() called without preloaded object (#{
inspect(ap_id)
}). Consider preloading the object"
|> Logger.debug()
Logger.debug("Backtrace: #{inspect(Process.info(:erlang.self(), :current_stacktrace))}")