commit: ff6f5a417f1f22d53b1196cc19e1ba9ad6e0ed2c
parent 6feb536e79e1d639b8e143451848fbfb33ee2a3f
Author: feld <feld@feld.me>
Date: Thu, 30 May 2024 15:38:18 +0000
Merge branch 'mrf-nsfw-otp25' into 'develop'
Fix Logger.warn deprecation error on OTP25
See merge request pleroma/pleroma!4135
Diffstat:
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)}
""")