forked from potsda.mn/mobilizon
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, %Ecto.Changeset{} = err} ->
|
||||||
{:error, err}
|
{:error, err}
|
||||||
|
|
||||||
|
{:error, {:error, %Ecto.Changeset{} = err}} ->
|
||||||
|
{:error, err}
|
||||||
|
|
||||||
:error ->
|
:error ->
|
||||||
{:error, :transmogrifier_error}
|
{:error, :transmogrifier_error}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue