Fix Logger.warn deprecation error on OTP25
This commit is contained in:
parent
bc4d6adbec
commit
f5065eaf99
1
changelog.d/mrf-nsfw-otp25.skip
Normal file
1
changelog.d/mrf-nsfw-otp25.skip
Normal file
@ -0,0 +1 @@
|
||||
noop
|
@ -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)}
|
||||
""")
|
||||
|
Loading…
Reference in New Issue
Block a user