lsp: Don't log oneshot channel errors from notify (#29857)
This is kind of noisy and not very informative. Release Notes: - N/A
This commit is contained in:
parent
b404024c7a
commit
c765da1c82
3 changed files with 14 additions and 14 deletions
|
@ -6092,7 +6092,7 @@ impl LspStore {
|
|||
content_changes,
|
||||
},
|
||||
)
|
||||
.log_err();
|
||||
.ok();
|
||||
}
|
||||
|
||||
None
|
||||
|
@ -6125,7 +6125,7 @@ impl LspStore {
|
|||
text,
|
||||
},
|
||||
)
|
||||
.log_err();
|
||||
.ok();
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -7472,7 +7472,7 @@ impl LspStore {
|
|||
new_uri: new_uri.clone(),
|
||||
}],
|
||||
})
|
||||
.log_err();
|
||||
.ok();
|
||||
}
|
||||
}
|
||||
Some(())
|
||||
|
@ -7575,7 +7575,7 @@ impl LspStore {
|
|||
.notify::<lsp::notification::DidChangeWatchedFiles>(
|
||||
&lsp::DidChangeWatchedFilesParams { changes },
|
||||
)
|
||||
.log_err();
|
||||
.ok();
|
||||
}
|
||||
Some(())
|
||||
});
|
||||
|
@ -9140,7 +9140,7 @@ impl LspStore {
|
|||
if !params.changes.is_empty() {
|
||||
server
|
||||
.notify::<lsp::notification::DidChangeWatchedFiles>(¶ms)
|
||||
.log_err();
|
||||
.ok();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue