Skip to content

Commit

Permalink
fix: hide auth secrets in unknown message error
Browse files Browse the repository at this point in the history
  • Loading branch information
hauleth committed Dec 6, 2024
1 parent 8de5284 commit c2b4fe2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/supavisor/client_handler.ex
Original file line number Diff line number Diff line change
Expand Up @@ -684,7 +684,7 @@ defmodule Supavisor.ClientHandler do
msg = [
{"type", type},
{"content", content},
{"state", state},
{"state", Map.put(state, :auth_secrets, "<REDACTED>")},
{"data", data}
]

Expand Down

0 comments on commit c2b4fe2

Please sign in to comment.