exiftool doesn’t support JPEG XL either
[akkoma] / lib / pleroma / web / rel_me.ex
index da92b57547516903fb4478b51b085ca692918fea..3a1812f7a0e9451b441427420d12a63309c331e3 100644 (file)
@@ -5,7 +5,7 @@
 defmodule Pleroma.Web.RelMe do
   @options [
     max_body: 2_000_000,
-    recv_timeout: 2_000
+    receive_timeout: 2_000
   ]
 
   if Pleroma.Config.get(:env) == :test do
@@ -38,12 +38,11 @@ defmodule Pleroma.Web.RelMe do
 
   def maybe_put_rel_me("http" <> _ = target_page, profile_urls) when is_list(profile_urls) do
     {:ok, rel_me_hrefs} = parse(target_page)
-
     true = Enum.any?(rel_me_hrefs, fn x -> x in profile_urls end)
 
     "me"
   rescue
-    _ -> nil
+    e -> nil
   end
 
   def maybe_put_rel_me(_, _) do