forked from potsda.mn/mobilizon
Add error details in error logging in Activity Update handler
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
83755c4746
commit
de8433cdbb
|
@ -36,8 +36,7 @@ defmodule Mobilizon.Federation.ActivityPub.Actions.Update do
|
|||
{:ok, activity, entity}
|
||||
|
||||
{:error, err} ->
|
||||
Logger.error("Something went wrong while creating an activity")
|
||||
Logger.debug(inspect(err))
|
||||
Logger.error("Something went wrong while creating an activity", err: inspect(err))
|
||||
{:error, err}
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue