Skip to content

Commit 3ab699d

Browse files
style: prettier
1 parent ad60a64 commit 3ab699d

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

  • packages/server/src/server

packages/server/src/server/mcp.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,10 +332,7 @@ export class McpServer {
332332
// missing, but a task vanishing mid-poll is a server-side issue
333333
// (the client didn't even ask for a task) — surface as InternalError.
334334
if (error instanceof ProtocolError && error.code === ProtocolErrorCode.InvalidParams) {
335-
throw new ProtocolError(
336-
ProtocolErrorCode.InternalError,
337-
`Task ${taskId} vanished during automatic polling`
338-
);
335+
throw new ProtocolError(ProtocolErrorCode.InternalError, `Task ${taskId} vanished during automatic polling`);
339336
}
340337
throw error;
341338
}

0 commit comments

Comments
 (0)