logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 1e0d5934d53f95ac7737e844cf060d2cfe1be98d
parent d124d8645e1455fe5d4d2ab143f3ca09967f9572
Author: Mark Felder <feld@feld.me>
Date:   Wed, 17 Jul 2024 12:51:38 -0400

Fix return for cancelling job

Diffstat:

Mlib/pleroma/workers/rich_media_worker.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/workers/rich_media_worker.ex b/lib/pleroma/workers/rich_media_worker.ex @@ -20,7 +20,7 @@ defmodule Pleroma.Workers.RichMediaWorker do {:error, type} when type in [:invalid_metadata, :body_too_large, :content_type, :validate] -> - :cancel + {:cancel, type} error -> {:error, error}