summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--changelog.d/spex-error-log.skip0
-rw-r--r--lib/pleroma/web/api_spec/cast_and_validate.ex2
2 files changed, 1 insertions, 1 deletions
diff --git a/changelog.d/spex-error-log.skip b/changelog.d/spex-error-log.skip
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ 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
index eb487fce7..672d1c4a1 100644
--- 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)