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

Commit 928f344

Browse files
authored
match all errors (#9)
1 parent 6b484e5 commit 928f344

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
@@ -415,7 +415,7 @@ defmodule McpProxy.SSE do
415415
# it might still send a reply on the SSE connection
416416
:ok
417417

418-
{:error, %Req.TransportError{reason: reason}} ->
418+
{:error, reason} ->
419419
Logger.error("Failed to forward message #{inspect(message)}:\n#{inspect(reason)}")
420420

421421
{:reply_error,

0 commit comments

Comments
 (0)