mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2025-04-10 04:54:08 +00:00
Federator: More specific logging for rejections
This commit is contained in:
parent
7328235c64
commit
fc7ca2ccf4
1 changed files with 4 additions and 0 deletions
|
@ -122,6 +122,10 @@ defmodule Pleroma.Web.Federator do
|
|||
Logger.debug("Unhandled actor #{actor}, #{inspect(e)}")
|
||||
{:error, e}
|
||||
|
||||
{:reject, reason} = e ->
|
||||
Logger.debug("Rejected by MRF: #{inspect(reason)}")
|
||||
{:error, e}
|
||||
|
||||
e ->
|
||||
# Just drop those for now
|
||||
Logger.debug(fn -> "Unhandled activity\n" <> Jason.encode!(params, pretty: true) end)
|
||||
|
|
Loading…
Reference in a new issue