From d0772cf6f52a80836e89bc2fc47964421db62613 Mon Sep 17 00:00:00 2001 From: Luna Date: Sat, 26 Nov 2022 15:50:58 -0300 Subject: [PATCH] Make cache error log more readable --- lib/pleroma/web/plugs/http_signature_plug.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/pleroma/web/plugs/http_signature_plug.ex b/lib/pleroma/web/plugs/http_signature_plug.ex index 51de2b875..5ed3235e2 100644 --- a/lib/pleroma/web/plugs/http_signature_plug.ex +++ b/lib/pleroma/web/plugs/http_signature_plug.ex @@ -104,7 +104,9 @@ defp maybe_require_signature( :noop any -> - Logger.warn("expected request signature cache to run, got #{any}") + Logger.warn( + "expected request signature cache to return a boolean, instead got #{inspect(any)}" + ) end end