Skip to content

Commit 317164e

Browse files
committed
Remove debug logs
1 parent 99930fb commit 317164e

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

crates/ty_server/src/server/api/requests/workspace_diagnostic.rs

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,6 @@ impl BackgroundRequestHandler for WorkspaceDiagnosticRequestHandler {
102102
client: &Client,
103103
params: WorkspaceDiagnosticParams,
104104
) -> Result<WorkspaceDiagnosticReportResult> {
105-
tracing::debug!("Computing workspace diagnostics");
106105
let index = snapshot.index();
107106

108107
if !index.global_settings().diagnostic_mode().is_workspace() {
@@ -180,14 +179,6 @@ impl BackgroundRequestHandler for WorkspaceDiagnosticRequestHandler {
180179
// Don't respond, keep the response open (long polling).
181180
return;
182181
}
183-
184-
tracing::debug!(
185-
"Respond to workspace diagnostic request with full report because some diagnostics changed"
186-
);
187-
} else {
188-
tracing::debug!(
189-
"Respond to workspace diagnostic request because it's a partial result or an error"
190-
);
191182
}
192183

193184
client.respond(id, result);
@@ -431,8 +422,6 @@ impl<'a> ResponseWriter<'a> {
431422
.and_then(|key| self.index.make_document_ref(key).ok())
432423
.map(|doc| i64::from(doc.version()));
433424

434-
tracing::debug!("Reporting empty diagnostics for {}", previous_url);
435-
436425
let new_result_id = Diagnostics::result_id_from_hash(&[]);
437426

438427
let report = match new_result_id {

0 commit comments

Comments
 (0)