mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-23 00:26:30 +00:00
Merge branch 'mrf-nsfw-otp25' into 'develop'
Fix Logger.warn deprecation error on OTP25 See merge request pleroma/pleroma!4135
This commit is contained in:
commit
ff6f5a417f
2 changed files with 2 additions and 1 deletions
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)
|
Jason.decode(body)
|
||||||
else
|
else
|
||||||
error ->
|
error ->
|
||||||
Logger.warn("""
|
Logger.warning("""
|
||||||
[NsfwApiPolicy]: The API server failed. Skipping.
|
[NsfwApiPolicy]: The API server failed. Skipping.
|
||||||
#{inspect(error)}
|
#{inspect(error)}
|
||||||
""")
|
""")
|
||||||
|
|
Loading…
Reference in a new issue