fix: fix Elixir 1.15 depreciations

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel
2023-08-02 09:59:09 +02:00
parent 5373f1378f
commit da70427e32
22 changed files with 48 additions and 48 deletions

View File

@@ -126,7 +126,7 @@ defmodule Mobilizon.Web.ReverseProxy do
|> halt()
{:is_url, false} ->
Logger.warn("Tried to reverse proxy URL #{inspect(url)}")
Logger.warning("Tried to reverse proxy URL #{inspect(url)}")
conn
|> error_or_redirect(url, 400, "Request failed", opts)
@@ -202,7 +202,7 @@ defmodule Mobilizon.Web.ReverseProxy do
halt(conn)
{:error, error, conn} ->
Logger.warn(
Logger.warning(
"#{__MODULE__} request to #{url} failed while reading/chunking: #{inspect(error)}"
)