From: feld Date: Wed, 7 Oct 2020 16:44:52 +0000 (+0000) Subject: Apply 1 suggestion(s) to 1 file(s) X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=6d1666a080ad97ba1233d50ba36d3b8a136f75a7;p=akkoma Apply 1 suggestion(s) to 1 file(s) --- diff --git a/lib/pleroma/web/media_proxy/invalidations/http.ex b/lib/pleroma/web/media_proxy/invalidations/http.ex index 694eb559b..0b0cde68c 100644 --- a/lib/pleroma/web/media_proxy/invalidations/http.ex +++ b/lib/pleroma/web/media_proxy/invalidations/http.ex @@ -30,7 +30,7 @@ defmodule Pleroma.Web.MediaProxy.Invalidation.Http do {:ok, %{status: status} = env} when 400 <= status and status < 500 -> {:error, env} - {:error, error} -> + {:error, _} = error -> error _ ->