From: lain Date: Thu, 21 Nov 2019 13:03:01 +0000 (+0100) Subject: Object: Use inspect to log missing preload. X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=320690f7a5bf1622e25114b6ad4c0b0c5a252748;p=akkoma Object: Use inspect to log missing preload. --- diff --git a/lib/pleroma/object.ex b/lib/pleroma/object.ex index d9b41d710..cde0eddd9 100644 --- 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))}")