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

@@ -70,7 +70,7 @@ defmodule Mobilizon.Web.ErrorView do
# template is found, let's render it as 500
def template_not_found(template, assigns) do
require Logger
Logger.warn("Template #{inspect(template)} not found")
Logger.warning("Template #{inspect(template)} not found")
render("500.html", assigns)
end
end