Fix Logger.warn deprecation error on OTP25
This commit is contained in:
parent
bc4d6adbec
commit
f5065eaf99
|
@ -0,0 +1 @@
|
||||||
|
noop
|
|
@ -64,7 +64,7 @@ def parse_url(url) 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 New Issue