1
0
Fork 0
mirror of https://git.pleroma.social/pleroma/pleroma.git synced 2025-04-09 12:34:09 +00:00

Fix Logger.warn deprecation error on OTP25

This commit is contained in:
Mark Felder 2024-05-30 11:09:42 -04:00
parent bc4d6adbec
commit f5065eaf99
2 changed files with 2 additions and 1 deletions
changelog.d
lib/pleroma/web/activity_pub/mrf

View file

@ -0,0 +1 @@
noop

View file

@ -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)}
""")