Merge branch 'fixes' into 'main'
fix(activitypub): handle issue with AP Fetcher not catching some changeset errors Closes #1409 See merge request framasoft/mobilizon!1531
This commit is contained in:
commit
06cdb1cb43
|
@ -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