Transmogrifier event create Handle any type of error
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
b13d4d253e
commit
614ead1777
|
@ -111,8 +111,7 @@ defmodule Mobilizon.Federation.ActivityPub.Transmogrifier do
|
|||
{:ok, activity, event}
|
||||
else
|
||||
{:existing_event, %Event{} = event} -> {:ok, nil, event}
|
||||
{:error, _, _} -> :error
|
||||
{:error, _} -> :error
|
||||
_ -> :error
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue