https://github.com/zed-industries/zed/pull/22934#issuecomment-2592239448 and myself had noted quite an increase in junk logging after that: https://github.com/user-attachments/assets/b678d4ec-c301-4d0e-9a12-99aa7f6da0a2 Release Notes: - N/A
This commit is contained in:
parent
74620e611e
commit
0e4a619c9f
1 changed files with 0 additions and 4 deletions
|
@ -2012,10 +2012,6 @@ impl LocalLspStore {
|
||||||
snapshots.retain(|snapshot| snapshot.version + OLD_VERSIONS_TO_RETAIN >= version);
|
snapshots.retain(|snapshot| snapshot.version + OLD_VERSIONS_TO_RETAIN >= version);
|
||||||
Ok(found_snapshot)
|
Ok(found_snapshot)
|
||||||
} else {
|
} else {
|
||||||
match buffer.read(cx).project_path(cx) {
|
|
||||||
Some(project_path) => log::error!("No LSP snapshots found for buffer with path {:?}", project_path.path),
|
|
||||||
None => log::error!("No LSP snapshots found for buffer without a project path (which is also unexpected)"),
|
|
||||||
}
|
|
||||||
Ok((buffer.read(cx)).text_snapshot())
|
Ok((buffer.read(cx)).text_snapshot())
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue