We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ad60a64 commit 3ab699dCopy full SHA for 3ab699d
1 file changed
packages/server/src/server/mcp.ts
@@ -332,10 +332,7 @@ export class McpServer {
332
// missing, but a task vanishing mid-poll is a server-side issue
333
// (the client didn't even ask for a task) — surface as InternalError.
334
if (error instanceof ProtocolError && error.code === ProtocolErrorCode.InvalidParams) {
335
- throw new ProtocolError(
336
- ProtocolErrorCode.InternalError,
337
- `Task ${taskId} vanished during automatic polling`
338
- );
+ throw new ProtocolError(ProtocolErrorCode.InternalError, `Task ${taskId} vanished during automatic polling`);
339
}
340
throw error;
341
0 commit comments