From dbcab1f5b5213686104056836e589fe9b8ff5f12 Mon Sep 17 00:00:00 2001 From: Alan Leal Date: Sat, 20 Sep 2025 10:49:56 -0300 Subject: [PATCH] Improve generic 'Method not found' message for better debuggability --- src/shared/protocol.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared/protocol.ts b/src/shared/protocol.ts index 7df190ba1..363038ff0 100644 --- a/src/shared/protocol.ts +++ b/src/shared/protocol.ts @@ -380,7 +380,7 @@ export abstract class Protocol< id: request.id, error: { code: ErrorCode.MethodNotFound, - message: "Method not found", + message: `Method '${request.method}' not found`, }, }) .catch((error) =>