Debug log the output of an Create Event error
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
c15123e5ea
commit
8250d34597
@ -114,8 +114,12 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier do
|
||||
Actions.Create.create(:event, object_data, false) do
|
||||
{:ok, activity, event}
|
||||
else
|
||||
{:existing_event, %Event{} = event} -> {:ok, nil, event}
|
||||
_ -> :error
|
||||
{:existing_event, %Event{} = event} ->
|
||||
{:ok, nil, event}
|
||||
|
||||
err ->
|
||||
Logger.debug(inspect(err))
|
||||
:error
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user