object/fetcher: Pass full Transmogrifier error
This commit is contained in:
parent
bf1c5e255a
commit
1566543bec
@ -83,8 +83,8 @@ defmodule Pleroma.Object.Fetcher do
|
|||||||
{:transmogrifier, {:error, {:reject, nil}}} ->
|
{:transmogrifier, {:error, {:reject, nil}}} ->
|
||||||
{:reject, nil}
|
{:reject, nil}
|
||||||
|
|
||||||
{:transmogrifier, _} ->
|
{:transmogrifier, _} = e ->
|
||||||
{:error, "Transmogrifier failure."}
|
{:error, e}
|
||||||
|
|
||||||
{:object, data, nil} ->
|
{:object, data, nil} ->
|
||||||
reinject_object(%Object{}, data)
|
reinject_object(%Object{}, data)
|
||||||
|
Loading…
Reference in New Issue
Block a user