Skip to content

Commit dbcab1f

Browse files
Improve generic 'Method not found' message for better debuggability
1 parent 856d9ec commit dbcab1f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/shared/protocol.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -380,7 +380,7 @@ export abstract class Protocol<
380380
id: request.id,
381381
error: {
382382
code: ErrorCode.MethodNotFound,
383-
message: "Method not found",
383+
message: `Method '${request.method}' not found`,
384384
},
385385
})
386386
.catch((error) =>

0 commit comments

Comments
 (0)