diff --git a/client/src/common/diagnostic.ts b/client/src/common/diagnostic.ts index 92429105b..653064df4 100644 --- a/client/src/common/diagnostic.ts +++ b/client/src/common/diagnostic.ts @@ -649,7 +649,7 @@ class DiagnosticRequestor implements Disposable { resultReporter(converted); return { items: [] }; }, (error) => { - return this.client.handleFailedRequest(DocumentDiagnosticRequest.type, token, error, { items: [] }); + return this.client.handleFailedRequest(WorkspaceDiagnosticRequest.type, token, error, { items: [] }); }).finally(() => { // Runs on success, cancellation, request failure, and a convertReport throw. disposable.dispose();