Unnamed repository; edit this file 'description' to name the repository.
minor: Silence noisy set_error log
Outside of debugging tests, it makes no sense to log this.
Blaž Hrastnik 2024-01-24
parent b606c05 · commit 6bfe1dd
-rw-r--r--helix-view/src/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index dc10a604..fbfcb356 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -1147,7 +1147,7 @@ impl Editor {
#[inline]
pub fn set_error<T: Into<Cow<'static, str>>>(&mut self, error: T) {
let error = error.into();
- log::error!("editor error: {}", error);
+ log::debug!("editor error: {}", error);
self.status_msg = Some((error, Severity::Error));
}