mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-01-24 16:08:09 +00:00
Log errors when publishing activities
This commit is contained in:
parent
08ba9a15b2
commit
efd50759d5
1 changed files with 2 additions and 1 deletions
|
@ -117,8 +117,9 @@ defmodule Pleroma.Web.ActivityPub.Publisher do
|
||||||
|
|
||||||
result
|
result
|
||||||
else
|
else
|
||||||
{_post_result, response} ->
|
{_post_result, response} = e ->
|
||||||
unless params[:unreachable_since], do: Instances.set_unreachable(inbox)
|
unless params[:unreachable_since], do: Instances.set_unreachable(inbox)
|
||||||
|
Logger.error("Failed to publish activity #{id} #{inspect(e)}")
|
||||||
{:error, response}
|
{:error, response}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue