From b53e45e1a40307145bec4ab68715e8d4b5f2906a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Jan=20Niemier?= Date: Tue, 10 Dec 2024 12:03:35 +0100 Subject: [PATCH] fix: hide auth secrets in unknown message error (#507) --- 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 aefbaca8..40069974 100644 --- a/lib/supavisor/client_handler.ex +++ b/lib/supavisor/client_handler.ex @@ -602,7 +602,7 @@ defmodule Supavisor.ClientHandler do msg = [ {"type", type}, {"content", content}, - {"state", state}, + {"state", Map.put(state, :auth_secrets, "")}, {"data", data} ]