Skip to content

Offline, privacy-first grammar checker. Fast, open-source, Rust-powered

fix(ls): remove offending log call

Elijah Potteraed9b71705bd
diff --git a/harper-ls/src/backend.rs b/harper-ls/src/backend.rs
index a98b83515..ec55edcba 100644
--- a/harper-ls/src/backend.rs
+++ b/harper-ls/src/backend.rs
@@ -87,10 +87,7 @@ impl Backend {
.await
.context("Unable to get the file path.")?;
- load_dict(path)
- .await
- .map_err(|err| info!("{err}"))
- .or(Ok(FullDictionary::new()))
+ load_dict(path).await.or(Ok(FullDictionary::new()))
}
async fn save_file_dictionary(&self, url: &Url, dict: impl Dictionary) -> Result<()> {