From c2b4fe2dde0f4894006839d17cd247d05b9d0fe5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jan=20Niemier?= Date: Fri, 6 Dec 2024 18:59:08 +0100 Subject: [PATCH] fix: hide auth secrets in unknown message error --- lib/supavisor/client_handler.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/supavisor/client_handler.ex b/lib/supavisor/client_handler.ex index 5ce3afb3..395b53fe 100644 --- a/lib/supavisor/client_handler.ex +++ b/lib/supavisor/client_handler.ex @@ -684,7 +684,7 @@ defmodule Supavisor.ClientHandler do msg = [ {"type", type}, {"content", content}, - {"state", state}, + {"state", Map.put(state, :auth_secrets, "")}, {"data", data} ]