From 6deb4eb603e9e5ef9a8035c5300ba8e75b1455c7 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 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} ]