MCPcopy Create free account
hub / github.com/microsoft/vscode-languageserver-node / logFailedRequest

Function logFailedRequest

client/src/client.ts:2978–2984  ·  view source on GitHub ↗
(type: RPCMessageType, error: any)

Source from the content-addressed store, hash-verified

2976 };
2977
2978 public logFailedRequest(type: RPCMessageType, error: any): void {
2979 // If we get a request cancel don't log anything.
2980 if (error instanceof ResponseError && error.code === ErrorCodes.RequestCancelled) {
2981 return;
2982 }
2983 this.error(`Request ${type.method} failed.`, error);
2984 }
2985}

Callers

nothing calls this directly

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected