From 38d09cb0ce48f86cf8af0a99f6e8ae2d8fa58abf Mon Sep 17 00:00:00 2001 From: Floatingghost Date: Tue, 4 Jun 2024 14:34:18 +0100 Subject: [PATCH] remove now-pointless clause --- lib/pleroma/web/rich_media/helpers.ex | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/pleroma/web/rich_media/helpers.ex b/lib/pleroma/web/rich_media/helpers.ex index 790ec4c1b..cb381d86b 100644 --- a/lib/pleroma/web/rich_media/helpers.ex +++ b/lib/pleroma/web/rich_media/helpers.ex @@ -99,10 +99,6 @@ def rich_media_get(url) do end with :ok <- head_check, do: Pleroma.HTTP.get(url, headers, @options) - rescue - e -> - Logger.error("Failed to fetch rich media: #{inspect(e)}") - {:error, :fetch_error} end defp check_content_type(headers) do