summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBlaž Hrastnik2024-01-24 06:31:16 +0000
committerBlaž Hrastnik2024-01-24 06:31:16 +0000
commit6bfe1ddc53f542d62e242fd4aaf6748dda1b0e71 (patch)
tree55a9aec5d597bf6bb2e25ecb70c3b87422435b8c
parentb606c052467396042b1dbba10f19fd3c114fd42a (diff)
minor: Silence noisy set_error log
Outside of debugging tests, it makes no sense to log this.
-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));
}