mirror of https://github.com/helix-editor/helix
minor: Silence noisy set_error log
Outside of debugging tests, it makes no sense to log this.allowlist
parent
b606c05246
commit
6bfe1ddc53
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue