logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: f5065eaf99a76695df26966055f90368df7043f3
parent bc4d6adbec10efcea8dceca2e51c17f09280c116
Author: Mark Felder <feld@feld.me>
Date:   Thu, 30 May 2024 11:09:42 -0400

Fix Logger.warn deprecation error on OTP25

Diffstat:

Achangelog.d/mrf-nsfw-otp25.skip1+
Mlib/pleroma/web/activity_pub/mrf/nsfw_api_policy.ex2+-
2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/changelog.d/mrf-nsfw-otp25.skip b/changelog.d/mrf-nsfw-otp25.skip @@ -0,0 +1 @@ +noop diff --git a/lib/pleroma/web/activity_pub/mrf/nsfw_api_policy.ex b/lib/pleroma/web/activity_pub/mrf/nsfw_api_policy.ex @@ -64,7 +64,7 @@ defmodule Pleroma.Web.ActivityPub.MRF.NsfwApiPolicy do Jason.decode(body) else error -> - Logger.warn(""" + Logger.warning(""" [NsfwApiPolicy]: The API server failed. Skipping. #{inspect(error)} """)