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}
|
{:ok, activity, entity}
|
||||||
|
|
||||||
{:error, err} ->
|
{:error, err} ->
|
||||||
Logger.error("Something went wrong while creating an activity")
|
Logger.error("Something went wrong while creating an activity", err: inspect(err))
|
||||||
Logger.debug(inspect(err))
|
|
||||||
{:error, err}
|
{:error, err}
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user