Revert unintended change to the Logger metadata tag name

This commit is contained in:
Mark Felder 2024-07-29 10:03:22 -04:00
parent 8893ad9899
commit b48fd89a41

View File

@ -132,7 +132,7 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
else else
{_post_result, %{status: code} = response} = e -> {_post_result, %{status: code} = response} = e ->
unless params[:unreachable_since], do: Instances.set_unreachable(inbox) unless params[:unreachable_since], do: Instances.set_unreachable(inbox)
Logger.metadata(id: activity_id, inbox: inbox, status: code) Logger.metadata(activity: activity_id, inbox: inbox, status: code)
Logger.error("Publisher failed to inbox #{inbox} with status #{code}") Logger.error("Publisher failed to inbox #{inbox} with status #{code}")
case response do case response do