Skip to content

Commit

Permalink
error msg
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Jun 3, 2024
1 parent 259b795 commit 67346e9
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/federator/ap_publisher.ex
Original file line number Diff line number Diff line change
Expand Up @@ -160,6 +160,10 @@ defmodule ActivityPub.Federator.APPublisher do

result
else
{_post_result, %{status: code} = response} ->
unless params[:unreachable_since], do: Instances.set_unreachable(inbox)
error(response, "could not push activity to #{inspect(inbox)} (got HTTP #{code})")

{_post_result, response} ->
unless params[:unreachable_since], do: Instances.set_unreachable(inbox)
error(response, "could not push activity to #{inspect(inbox)}")
Expand Down

0 comments on commit 67346e9

Please sign in to comment.