Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.

Commit a680f1c

Browse files
committed
Hide missing debug call
1 parent d230c19 commit a680f1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/mcp_proxy/sse.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ defmodule McpProxy.SSE do
190190
{:noreply,
191191
%{state | state: {:waiting_for_server_init_hidden, init_message["id"]}, endpoint: endpoint}}
192192
else
193-
Logger.debug("waiting for client init")
193+
if state.debug, do: Logger.debug("waiting for client init")
194194
{:noreply, %{spawn_io_process(state) | endpoint: endpoint, state: :waiting_for_client_init}}
195195
end
196196
end

0 commit comments

Comments
 (0)