fix(activitypub): handle issue with AP Fetcher not catching some changeset errors
Closes #1409 Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
5429afba21
commit
e3b36434cb
|
@ -105,6 +105,9 @@ defmodule Mobilizon.Federation.ActivityPub.Fetcher do
|
|||
{:error, %Ecto.Changeset{} = err} ->
|
||||
{:error, err}
|
||||
|
||||
{:error, {:error, %Ecto.Changeset{} = err}} ->
|
||||
{:error, err}
|
||||
|
||||
:error ->
|
||||
{:error, :transmogrifier_error}
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue