mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-23 00:14:48 +00:00
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
1 changed files with 6 additions and 2 deletions
|
@ -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 a new issue