Object.Fetcher: Fix getting transmogrifier reject reason

This commit is contained in:
Haelwenn (lanodan) Monnier 2020-09-17 16:17:16 +02:00
parent b0c778fde7
commit 461123110b
No known key found for this signature in database
GPG Key ID: D5B7A8E43C997DEE

View File

@ -102,6 +102,9 @@ defmodule Pleroma.Object.Fetcher do
{:transmogrifier, {:error, {:reject, e}}} ->
{:reject, e}
{:transmogrifier, {:reject, e}} ->
{:reject, e}
{:transmogrifier, _} = e ->
{:error, e}