logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: 5313255b1afcff394fbfe145081ac0ceb2cbe283
parent de80a7e8906cb54b436a2f6a754b05c4eae13d79
Author: Mark Felder <feld@feld.me>
Date:   Tue, 11 Jun 2024 16:06:18 -0400

Use conn.request_path for more legible error log

Diffstat:

Achangelog.d/spex-error-log.skip0
Mlib/pleroma/web/api_spec/cast_and_validate.ex2+-
2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/changelog.d/spex-error-log.skip b/changelog.d/spex-error-log.skip diff --git a/lib/pleroma/web/api_spec/cast_and_validate.ex b/lib/pleroma/web/api_spec/cast_and_validate.ex @@ -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)