Merge branch 'api-spex-error' into 'develop'

ApiSpec: Use conn.request_path for more legible error log

See merge request pleroma/pleroma!4145
This commit is contained in:
feld 2024-06-11 20:08:08 +00:00
commit 61506f8d93
2 changed files with 1 additions and 1 deletions

View file

View file

@ -54,7 +54,7 @@ defmodule Pleroma.Web.ApiSpec.CastAndValidate do
{:error, reason} ->
Logger.error(
"Strict ApiSpec: request denied to #{conn.path_info} with params #{inspect(conn.params)}"
"Strict ApiSpec: request denied to #{conn.request_path} with params #{inspect(conn.params)}"
)
opts = render_error.init(reason)