From f1023ffa4e18387c5b73b6869d2b7dedc0beec05 Mon Sep 17 00:00:00 2001 From: Robert Coie Date: Thu, 7 Aug 2025 16:40:41 -0700 Subject: [PATCH] Remove a straggling reference to a local variable 'message' that no longer exists --- clientSSE.go.tmpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clientSSE.go.tmpl b/clientSSE.go.tmpl index 8c87cab..2fc9140 100644 --- a/clientSSE.go.tmpl +++ b/clientSSE.go.tmpl @@ -56,7 +56,7 @@ const sseResponse = async ( onError( WebrpcClientAbortedError.new({ message: "AbortError", - cause: `AbortError: ${message}`, + cause: `AbortError: ${error instanceof Error ? error.message : String(error)}`, }), () => { throw new Error("Abort signal cannot be used to reconnect");