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}
|
{:ok, activity, event}
|
||||||
else
|
else
|
||||||
{:existing_event, %Event{} = event} -> {:ok, nil, event}
|
{:existing_event, %Event{} = event} -> {:ok, nil, event}
|
||||||
{:error, _, _} -> :error
|
_ -> :error
|
||||||
{:error, _} -> :error
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue