Use conn.request_path for more legible error log

This commit is contained in:
Mark Felder 2024-06-11 16:06:18 -04:00
parent de80a7e890
commit 5313255b1a
2 changed files with 1 additions and 1 deletions

View file

View file

@ -54,7 +54,7 @@ def call(conn, %{operation_id: operation_id, render_error: render_error} = opts)
{: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)