diff options
author | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-09-27 11:10:54 +0200 |
---|---|---|
committer | Haelwenn (lanodan) Monnier <contact@hacktivis.me> | 2018-09-27 20:00:48 +0200 |
commit | e53da692fbdae3bcf9a7d528bf0d6bd170669052 (patch) | |
tree | 79c7a723bcfa515a002eec7ff9e0a31796449b0b /lib | |
parent | d830a243a34b1c41ac81f368bce565285bd89ab7 (diff) | |
download | pleroma-e53da692fbdae3bcf9a7d528bf0d6bd170669052.tar.gz |
transmogrifier: Use the correct variable and prefer inspect in case of a bad type being passed on
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pleroma/web/activity_pub/transmogrifier.ex | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/pleroma/web/activity_pub/transmogrifier.ex b/lib/pleroma/web/activity_pub/transmogrifier.ex index 611c0e623..7bdb9594a 100644 --- a/lib/pleroma/web/activity_pub/transmogrifier.ex +++ b/lib/pleroma/web/activity_pub/transmogrifier.ex @@ -126,12 +126,12 @@ defmodule Pleroma.Web.ActivityPub.Transmogrifier do |> Map.put("context", replied_object.data["context"] || object["conversation"]) else e -> - Logger.error("Couldn't fetch #{object["inReplyTo"]} #{inspect(e)}") + Logger.error("Couldn't fetch \"#{inspect(in_reply_to_id)}\", error: #{inspect(e)}") object end e -> - Logger.error("Couldn't fetch #{object["inReplyTo"]} #{inspect(e)}") + Logger.error("Couldn't fetch \"#{inspect(in_reply_to_id)}\", error: #{inspect(e)}") object end end |